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
f04a2f4b8e
os-rust
/
src
/
test
/
pretty
/
example2.pp
4 lines
39 B
ObjectPascal
Raw
Normal View
History
Unescape
Escape
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
// pp-exact:example2.pp
Fix the pretty print tests to handle terminal newlines. Sorry!
2011-08-03 19:47:54 -07:00
fn
main
(
)
{ }
Reference in a new issue
Copy permalink