This website requires JavaScript.
Explore
Help
Sign in
mathieu
/
os-rust
Watch
1
Star
0
Fork
You've already forked os-rust
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
stable
os-rust
/
tests
/
pretty
/
example2.pp
4 lines
39 B
ObjectPascal
Raw
Permalink
Normal View
History
Unescape
Escape
Re-bless tests/pretty
2024-02-21 12:37:58 +00:00
//@ pp-exact:example2.pp
Add dedicated pretty-printer tests with new pp-exact directive Add a new src/test/pretty directory to hold just source files for testing the pretty-printer. Add a new pp-exact directive. When this directive is followed by a file name it specifies a file containing the output that the pretty-printer should generate. When pp-exact is not followed by a filename it says that the file should pretty-print as written.
2011-08-01 14:10:59 -07:00
Pretty print empty blocks as {}
2021-12-01 11:45:14 -08:00
fn
main
(
)
{}
Reference in a new issue
Copy permalink