Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Golden file pattern for integration tests, reduced commits #246

Merged
merged 1 commit into from
Feb 21, 2017

Conversation

tro3
Copy link
Contributor

@tro3 tro3 commented Feb 15, 2017

Moving remaining integration tests to golden file pattern. For some reason, the remove_test.go is now passing on my PC, despite nothing being commented out or skipped. We'll see if Appveyor believes the same.

@tro3 tro3 changed the title Golden file pattern for integration tests Golden file pattern for integration tests, reduced commits Feb 15, 2017
if lock != expectedLock {
t.Fatalf("expected %s, got %s", expectedLock, lock)
goldenLock := "remove/lock1.golden.json"
wantLock := strings.Replace(h.GetTestFileString(goldenLock), "` + sysCommit + `", sysCommit, 1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not great that we're still having to do this. I've opened #255 to get rid of it.

@sdboyer
Copy link
Member

sdboyer commented Feb 21, 2017

This LGTM - thanks!

@sdboyer sdboyer merged commit 7b61822 into golang:master Feb 21, 2017
@tro3 tro3 deleted the integration-golden-pattern branch February 21, 2017 04:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants