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

fmt: format multi line only on trailing comma #2184

Merged
merged 2 commits into from Apr 4, 2019

Conversation

Projects
None yet
2 participants
@shritesh
Copy link
Contributor

shritesh commented Apr 4, 2019

Fixes #2181

@andrewrk

This comment has been minimized.

Copy link
Member

andrewrk commented Apr 4, 2019

btw @shritesh here is how to run only the zig fmt tests:

./zig test ../std/zig/parser_test.zig --override-std-dir ../std --test-filter "zig fmt"

@andrewrk andrewrk merged commit 8e6ff8d into ziglang:master Apr 4, 2019

1 of 2 checks passed

ziglang.zig in progress
Details
builds.sr.ht: freebsd.yml builds.sr.ht job completed successfully
Details
@shritesh

This comment has been minimized.

Copy link
Contributor Author

shritesh commented Apr 4, 2019

Thanks @andrewrk.

I had done bin/zig build --build-file ../build.zig test -Dtest-filter='zig fmt' but that didn't catch the missing semicolon in the first commit.

@shritesh shritesh deleted the shritesh:fmt_2181 branch Apr 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.