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 2 commits into from Apr 4, 2019


None yet
2 participants
Copy link

shritesh commented Apr 4, 2019

Fixes #2181


This comment has been minimized.

Copy link

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 freebsd.yml job completed successfully

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.