[fidlfmt] Fix comment line sniffing
For comments with no content, i.e. "<opt-space>//" we were incorrectly treating them as non-comment lines. Test: added FIDL-613 #done Change-Id: I7e877658b567f612d01698acfde132bc4196aaab
Showing
- zircon/system/host/fidl/include/fidl/formatter.h 5 additions, 1 deletionzircon/system/host/fidl/include/fidl/formatter.h
- zircon/system/utest/fidl-compiler/testdata/badformat.fidl.noformat 5 additions, 0 deletions...stem/utest/fidl-compiler/testdata/badformat.fidl.noformat
- zircon/system/utest/fidl-compiler/testdata/goodformat.test.fidl 6 additions, 0 deletions.../system/utest/fidl-compiler/testdata/goodformat.test.fidl
Please register or sign in to comment