Skip to content
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

break :: into :, : anywhere in a slice #116

Merged
merged 1 commit into from
Mar 1, 2016

Conversation

mikedanese
Copy link
Contributor

@@ -49,6 +49,14 @@ local arrCases = [
output: arr,
},
{
input: arr[1::],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's not possible to run the formatter on these tests as it denatures the test.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah there are several cases of that already, they should have a .fmt.golden file to hold the output of formatting those files (because they do not format to themselves). If I accidentally broke the test, please fix it ;)

Copy link
Contributor

Choose a reason for hiding this comment

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

You'll want to run ./refresh_fmt_golden.sh on this one.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah ok. Updated .fmt.golden. It looks like you made some changes but manually reverted anything that would have modified the tests so lgtm.
17c59ac#diff-5dd5fae04796372f66a075da6ff11ffc

sparkprime added a commit that referenced this pull request Mar 1, 2016
break :: into :, : anywhere in a slice
@sparkprime sparkprime merged commit 064cb09 into google:master Mar 1, 2016
@mikedanese mikedanese deleted the fix-115 branch March 1, 2016 15:55
sbarzowski added a commit to sbarzowski/jsonnet that referenced this pull request Jun 10, 2024
Before it would just crash
sbarzowski added a commit to sbarzowski/jsonnet that referenced this pull request Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants