-
-
Notifications
You must be signed in to change notification settings - Fork 663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix CSV formatting for 'ginkgo outline' #1490
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
Name,Text,Start,End,Spec,Focused,Pending,Labels | ||
Describe,NodotFixture,81,670,false,false,false,"" | ||
Describe,normal,126,259,false,false,false,"" | ||
It,normal,166,255,true,false,false,"" | ||
By,normal,201,223,false,false,false,"" | ||
By,normal,227,249,false,false,false,"" | ||
Context,normal,262,342,false,false,false,"" | ||
It,normal,301,338,true,false,false,"" | ||
When,normal,345,422,false,false,false,"" | ||
It,normal,381,418,true,false,false,"" | ||
It,normal,425,461,true,false,false,"" | ||
Specify,normal,464,505,true,false,false,"" | ||
DescribeTable,normal,508,586,false,false,false,"" | ||
Entry,normal,557,582,true,false,false,"" | ||
DescribeTable,normal,589,667,false,false,false,"" | ||
Entry,normal,638,663,true,false,false,"" | ||
Describe,NodotFixture,81,670,false,false,false, | ||
Describe,normal,126,259,false,false,false, | ||
It,normal,166,255,true,false,false, | ||
By,normal,201,223,false,false,false, | ||
By,normal,227,249,false,false,false, | ||
Context,normal,262,342,false,false,false, | ||
It,normal,301,338,true,false,false, | ||
When,normal,345,422,false,false,false, | ||
It,normal,381,418,true,false,false, | ||
It,normal,425,461,true,false,false, | ||
Specify,normal,464,505,true,false,false, | ||
DescribeTable,normal,508,586,false,false,false, | ||
Entry,normal,557,582,true,false,false, | ||
DescribeTable,normal,589,667,false,false,false, | ||
Entry,normal,638,663,true,false,false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package example_test | ||
|
||
import ( | ||
. "github.com/onsi/ginkgo/v2" | ||
) | ||
|
||
var _ = Describe("Abnormal\"Fixture", func() { | ||
When("four random words: flown, authenticating, semiweekly, and overproduction", func() { | ||
It("has a dangling double-quote here: \"", func() { | ||
By("step 1") | ||
By("step 2") | ||
}) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Name,Text,Start,End,Spec,Focused,Pending,Labels | ||
Describe,"Abnormal""Fixture",73,300,false,false,false, | ||
When,"four random words: flown, authenticating, semiweekly, and overproduction",113,297,false,false,false, | ||
It,"has a dangling double-quote here: """,205,293,true,false,false, | ||
By,step 1,260,272,false,false,false, | ||
By,step 2,276,288,false,false,false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"name":"Describe","text":"Abnormal\"Fixture","start":73,"end":300,"spec":false,"focused":false,"pending":false,"labels":[],"nodes":[{"name":"When","text":"four random words: flown, authenticating, semiweekly, and overproduction","start":113,"end":297,"spec":false,"focused":false,"pending":false,"labels":[],"nodes":[{"name":"It","text":"has a dangling double-quote here: \"","start":205,"end":293,"spec":true,"focused":false,"pending":false,"labels":[],"nodes":[{"name":"By","text":"step 1","start":260,"end":272,"spec":false,"focused":false,"pending":false,"labels":null,"nodes":[]},{"name":"By","text":"step 2","start":276,"end":288,"spec":false,"focused":false,"pending":false,"labels":null,"nodes":[]}]}]}]}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Name,Text,Start,End,Spec,Focused,Pending,Labels | ||
Describe,DslCoreFixture,82,216,false,false,false,"" | ||
Describe,dslcore,119,213,false,false,false,"" | ||
It,dslcore,150,209,true,false,false,"" | ||
By,step 1,176,188,false,false,false,"" | ||
By,step 2,192,204,false,false,false,"" | ||
Describe,DslCoreFixture,82,216,false,false,false, | ||
Describe,dslcore,119,213,false,false,false, | ||
It,dslcore,150,209,true,false,false, | ||
By,step 1,176,188,false,false,false, | ||
By,step 2,192,204,false,false,false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
Name,Text,Start,End,Spec,Focused,Pending,Labels | ||
Describe,unfocused,73,529,false,false,false,"" | ||
FDescribe,focused,105,202,false,true,false,"" | ||
It,focused,137,198,true,true,false,"" | ||
By,focused,163,176,false,true,false,"" | ||
By,focused,180,193,false,true,false,"" | ||
FContext,focused,205,268,false,true,false,"" | ||
It,focused,236,264,true,true,false,"" | ||
FWhen,focused,271,331,false,true,false,"" | ||
It,focused,299,327,true,true,false,"" | ||
FIt,focused,334,362,true,true,false,"" | ||
FSpecify,focused,365,398,true,true,false,"" | ||
FDescribeTable,focused,401,462,false,true,false,"" | ||
Entry,focused,442,458,true,true,false,"" | ||
DescribeTable,focused,465,526,false,false,false,"" | ||
FEntry,focused,505,522,true,true,false,"" | ||
Describe,unfocused,73,529,false,false,false, | ||
FDescribe,focused,105,202,false,true,false, | ||
It,focused,137,198,true,true,false, | ||
By,focused,163,176,false,true,false, | ||
By,focused,180,193,false,true,false, | ||
FContext,focused,205,268,false,true,false, | ||
It,focused,236,264,true,true,false, | ||
FWhen,focused,271,331,false,true,false, | ||
It,focused,299,327,true,true,false, | ||
FIt,focused,334,362,true,true,false, | ||
FSpecify,focused,365,398,true,true,false, | ||
FDescribeTable,focused,401,462,false,true,false, | ||
Entry,focused,442,458,true,true,false, | ||
DescribeTable,focused,465,526,false,false,false, | ||
FEntry,focused,505,522,true,true,false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
Name,Text,Start,End,Spec,Focused,Pending,Labels | ||
Describe,NormalFixture,73,571,false,false,false,"" | ||
Describe,NormalFixture,73,571,false,false,false, | ||
Describe,normal,109,228,false,false,false,"normal, serial" | ||
It,normal,166,224,true,false,false,"" | ||
By,step 1,191,203,false,false,false,"" | ||
By,step 2,207,219,false,false,false,"" | ||
Context,normal,231,323,false,false,false,"" | ||
It,normal,166,224,true,false,false, | ||
By,step 1,191,203,false,false,false, | ||
By,step 2,207,219,false,false,false, | ||
Context,normal,231,323,false,false,false, | ||
It,normal,260,319,true,false,false,"medium, slow" | ||
When,normal,326,383,false,false,false,"" | ||
It,normal,352,379,true,false,false,"" | ||
It,normal,386,412,true,false,false,"" | ||
Specify,normal,415,446,true,false,false,"" | ||
DescribeTable,normal,449,507,false,false,false,"" | ||
Entry,normal,488,503,true,false,false,"" | ||
DescribeTable,normal,510,568,false,false,false,"" | ||
Entry,normal,549,564,true,false,false,"" | ||
When,normal,326,383,false,false,false, | ||
It,normal,352,379,true,false,false, | ||
It,normal,386,412,true,false,false, | ||
Specify,normal,415,446,true,false,false, | ||
DescribeTable,normal,449,507,false,false,false, | ||
Entry,normal,488,503,true,false,false, | ||
DescribeTable,normal,510,568,false,false,false, | ||
Entry,normal,549,564,true,false,false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
Name,Text,Start,End,Spec,Focused,Pending,Labels | ||
FDescribe,unfocused,73,584,false,false,false,"" | ||
FContext,unfocused,106,205,false,false,false,"" | ||
It,unfocused,139,169,true,false,false,"" | ||
FIt,focused,172,201,true,true,false,"" | ||
Context,unfocused,208,306,false,false,false,"" | ||
FIt,focused,240,269,true,true,false,"" | ||
It,unfocused,272,302,true,false,false,"" | ||
FContext,focused,309,403,false,true,false,"" | ||
It,focused,340,368,true,true,false,"" | ||
It,focused,371,399,true,true,false,"" | ||
PContext,unfocused,406,581,false,false,true,"" | ||
FIt,unfocused,439,507,true,false,true,"" | ||
By,unfocused,468,483,false,false,true,"" | ||
By,unfocused,487,502,false,false,true,"" | ||
It,unfocused,510,577,true,false,true,"" | ||
By,unfocused,538,553,false,false,true,"" | ||
By,unfocused,557,572,false,false,true,"" | ||
FDescribe,unfocused,73,584,false,false,false, | ||
FContext,unfocused,106,205,false,false,false, | ||
It,unfocused,139,169,true,false,false, | ||
FIt,focused,172,201,true,true,false, | ||
Context,unfocused,208,306,false,false,false, | ||
FIt,focused,240,269,true,true,false, | ||
It,unfocused,272,302,true,false,false, | ||
FContext,focused,309,403,false,true,false, | ||
It,focused,340,368,true,true,false, | ||
It,focused,371,399,true,true,false, | ||
PContext,unfocused,406,581,false,false,true, | ||
FIt,unfocused,439,507,true,false,true, | ||
By,unfocused,468,483,false,false,true, | ||
By,unfocused,487,502,false,false,true, | ||
It,unfocused,510,577,true,false,true, | ||
By,unfocused,538,553,false,false,true, | ||
By,unfocused,557,572,false,false,true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
Name,Text,Start,End,Spec,Focused,Pending,Labels | ||
FDescribe,unfocused,73,476,false,false,false,"" | ||
FContext,unfocused,106,275,false,false,false,"" | ||
It,unfocused,139,206,true,false,false,"" | ||
By,unfocused,167,182,false,false,false,"" | ||
By,unfocused,186,201,false,false,false,"" | ||
FIt,focused,209,271,true,true,false,"" | ||
By,focused,236,249,false,true,false,"" | ||
By,focused,253,266,false,true,false,"" | ||
Context,unfocused,278,376,false,false,false,"" | ||
FIt,focused,310,339,true,true,false,"" | ||
It,unfocused,342,372,true,false,false,"" | ||
FContext,focused,379,473,false,true,false,"" | ||
It,focused,410,438,true,true,false,"" | ||
It,focused,441,469,true,true,false,"" | ||
FDescribe,unfocused,73,476,false,false,false, | ||
FContext,unfocused,106,275,false,false,false, | ||
It,unfocused,139,206,true,false,false, | ||
By,unfocused,167,182,false,false,false, | ||
By,unfocused,186,201,false,false,false, | ||
FIt,focused,209,271,true,true,false, | ||
By,focused,236,249,false,true,false, | ||
By,focused,253,266,false,true,false, | ||
Context,unfocused,278,376,false,false,false, | ||
FIt,focused,310,339,true,true,false, | ||
It,unfocused,342,372,true,false,false, | ||
FContext,focused,379,473,false,true,false, | ||
It,focused,410,438,true,true,false, | ||
It,focused,441,469,true,true,false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
Name,Text,Start,End,Spec,Focused,Pending,Labels | ||
Describe,NodotFixture,71,614,false,false,false,"" | ||
Describe,normal,113,233,false,false,false,"" | ||
It,normal,150,229,true,false,false,"" | ||
By,normal,182,201,false,false,false,"" | ||
By,normal,205,224,false,false,false,"" | ||
Context,normal,236,310,false,false,false,"" | ||
It,normal,272,306,true,false,false,"" | ||
When,normal,313,384,false,false,false,"" | ||
It,normal,346,380,true,false,false,"" | ||
It,normal,387,420,true,false,false,"" | ||
Specify,normal,423,461,true,false,false,"" | ||
DescribeTable,normal,464,536,false,false,false,"" | ||
Entry,normal,510,532,true,false,false,"" | ||
DescribeTable,normal,539,611,false,false,false,"" | ||
Entry,normal,585,607,true,false,false,"" | ||
Describe,NodotFixture,71,614,false,false,false, | ||
Describe,normal,113,233,false,false,false, | ||
It,normal,150,229,true,false,false, | ||
By,normal,182,201,false,false,false, | ||
By,normal,205,224,false,false,false, | ||
Context,normal,236,310,false,false,false, | ||
It,normal,272,306,true,false,false, | ||
When,normal,313,384,false,false,false, | ||
It,normal,346,380,true,false,false, | ||
It,normal,387,420,true,false,false, | ||
Specify,normal,423,461,true,false,false, | ||
DescribeTable,normal,464,536,false,false,false, | ||
Entry,normal,510,532,true,false,false, | ||
DescribeTable,normal,539,611,false,false,false, | ||
Entry,normal,585,607,true,false,false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
Name,Text,Start,End,Spec,Focused,Pending,Labels | ||
Describe,NormalFixture,73,512,false,false,false,"" | ||
Describe,normal,109,201,false,false,false,"" | ||
It,normal,139,197,true,false,false,"" | ||
By,step 1,164,176,false,false,false,"" | ||
By,step 2,180,192,false,false,false,"" | ||
Context,normal,204,264,false,false,false,"" | ||
It,normal,233,260,true,false,false,"" | ||
When,normal,267,324,false,false,false,"" | ||
It,normal,293,320,true,false,false,"" | ||
It,normal,327,353,true,false,false,"" | ||
Specify,normal,356,387,true,false,false,"" | ||
DescribeTable,normal,390,448,false,false,false,"" | ||
Entry,normal,429,444,true,false,false,"" | ||
DescribeTable,normal,451,509,false,false,false,"" | ||
Entry,normal,490,505,true,false,false,"" | ||
Describe,NormalFixture,73,512,false,false,false, | ||
Describe,normal,109,201,false,false,false, | ||
It,normal,139,197,true,false,false, | ||
By,step 1,164,176,false,false,false, | ||
By,step 2,180,192,false,false,false, | ||
Context,normal,204,264,false,false,false, | ||
It,normal,233,260,true,false,false, | ||
When,normal,267,324,false,false,false, | ||
It,normal,293,320,true,false,false, | ||
It,normal,327,353,true,false,false, | ||
Specify,normal,356,387,true,false,false, | ||
DescribeTable,normal,390,448,false,false,false, | ||
Entry,normal,429,444,true,false,false, | ||
DescribeTable,normal,451,509,false,false,false, | ||
Entry,normal,490,505,true,false,false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
Name,Text,Start,End,Spec,Focused,Pending,Labels | ||
Describe,NormalFixture,73,591,false,false,false,"" | ||
Describe,NormalFixture,73,591,false,false,false, | ||
Describe,normal,109,237,false,false,true,"normal, serial" | ||
It,normal,175,233,true,false,true,"" | ||
By,step 1,200,212,false,false,true,"" | ||
By,step 2,216,228,false,false,true,"" | ||
Context,normal,240,332,false,false,false,"" | ||
It,normal,175,233,true,false,true, | ||
By,step 1,200,212,false,false,true, | ||
By,step 2,216,228,false,false,true, | ||
Context,normal,240,332,false,false,false, | ||
It,normal,269,328,true,false,false,"medium, slow" | ||
When,normal,335,392,false,false,false,"" | ||
It,normal,361,388,true,false,false,"" | ||
It,normal,395,432,true,false,true,"" | ||
Specify,normal,435,466,true,false,false,"" | ||
DescribeTable,normal,469,527,false,false,false,"" | ||
Entry,normal,508,523,true,false,false,"" | ||
DescribeTable,normal,530,588,false,false,false,"" | ||
Entry,normal,569,584,true,false,false,"" | ||
When,normal,335,392,false,false,false, | ||
It,normal,361,388,true,false,false, | ||
It,normal,395,432,true,false,true, | ||
Specify,normal,435,466,true,false,false, | ||
DescribeTable,normal,469,527,false,false,false, | ||
Entry,normal,508,523,true,false,false, | ||
DescribeTable,normal,530,588,false,false,false, | ||
Entry,normal,569,584,true,false,false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
Name,Text,Start,End,Spec,Focused,Pending,Labels | ||
Describe,PendingFixture,73,534,false,false,false,"" | ||
PDescribe,pending,110,207,false,false,true,"" | ||
It,pending,142,203,true,false,true,"" | ||
By,pending,168,181,false,false,true,"" | ||
By,pending,185,198,false,false,true,"" | ||
PContext,pending,210,273,false,false,true,"" | ||
It,pending,241,269,true,false,true,"" | ||
PWhen,pending,276,336,false,false,true,"" | ||
It,pending,304,332,true,false,true,"" | ||
PIt,pending,339,367,true,false,true,"" | ||
PSpecify,pending,370,403,true,false,true,"" | ||
PDescribeTable,pending,406,467,false,false,true,"" | ||
Entry,pending,447,463,true,false,true,"" | ||
DescribeTable,pending,470,531,false,false,false,"" | ||
PEntry,pending,510,527,true,false,true,"" | ||
Describe,PendingFixture,73,534,false,false,false, | ||
PDescribe,pending,110,207,false,false,true, | ||
It,pending,142,203,true,false,true, | ||
By,pending,168,181,false,false,true, | ||
By,pending,185,198,false,false,true, | ||
PContext,pending,210,273,false,false,true, | ||
It,pending,241,269,true,false,true, | ||
PWhen,pending,276,336,false,false,true, | ||
It,pending,304,332,true,false,true, | ||
PIt,pending,339,367,true,false,true, | ||
PSpecify,pending,370,403,true,false,true, | ||
PDescribeTable,pending,406,467,false,false,true, | ||
Entry,pending,447,463,true,false,true, | ||
DescribeTable,pending,470,531,false,false,false, | ||
PEntry,pending,510,527,true,false,true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Name,Text,Start,End,Spec,Focused,Pending,Labels | ||
Describe,104,240,104,240,false,false,false,"" | ||
It,209,236,209,236,true,false,false,"" | ||
Describe,"104,240",104,240,false,false,false, | ||
It,"209,236",209,236,true,false,false, | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I laughed to discover that
ginkgo/outline/_testdata/position_test.go
already has text in place which should have forced using a CSV writer. The test in question:ginkgo/ginkgo/outline/_testdata/position_test.go
Lines 1 to 22 in 9e2f337
A test which uses a csv Reader to load each
_testdata/*_test.go.csv
would have caught this, but it's easy to miss out on writing meta-tests.In order not to clutter this PR, I have not added such a test to the suite. If the reviewers like, I can add such a commit onto this branch; or provide a separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's a picture to hopefully illustrate the previous error in this file:
Counting the comma-separated fields in each line, you'll see:
Name,Text,Start,End,Spec,Focused,Pending,Labels
Describe,104,240,104,240,false,false,false,""
It,209,236,209,236,true,false,false,""
Describe,"104,240",104,240,false,false,false,
It,"209,236",209,236,true,false,false,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ha! this is great, thanks. yes please feel free to add that test to this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
I wrote the test and saw it pass on the HEAD of my branch. I rebased it to pretend I'd written this meta-test as the first, rather than last, commit on this branch.
Then I just checked out each commit and ran
to see how the test failed. With the meta-test as the first commit, it properly fails due to
outline/_testdata/position_test.go.csv
having the extra fields, as shewn in the screenshot above.The test continues to fail in various ways for the subsequent commits; and when we finally get to the HEAD of this branch, the test passes as expected.
I broke the test up into two functions so as not to make the
DescribeTable
test body be too long. When I initially looked at that file, I immediately saw the super helpful comment about how to extend the test. I wanted to let the next person immediately see that same helpful comment.