about summary refs log tree commit diff
path: root/src/test/run-pass/ternary.rs
AgeCommit message (Collapse)AuthorLines
2012-01-30Alter/remove tests that include/concern ternaryPaul Woolcock-43/+0
3 tests, pretty/block-disambig.rs, run-pass/operator-overloading.rs, and run-pass/weird-exprs.rs, all included the ternary operator. These were changed to use the if-then-else construct instead. 2 tests, run-pass/block-arg-in-ternary.rs and run-pass/ternary.rs, were only there because of the ternary operator, and were removed.
2011-08-20ReformatBrian Anderson-1/+1
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-03Remove all xfail-stage0 directivesBrian Anderson-2/+0
While it is still technically possible to test stage 0, it is not part of any of the main testing rules and maintaining xfail-stage0 is a chore. Nobody should worry about how tests fare in stage0.
2011-07-27Reformat for new syntaxMarijn Haverbeke-32/+25
2011-06-23test: Improve ternary operator testsBrian Anderson-1/+7
2011-06-23rustc: Add ternary operator. Closes #565Brian Anderson-0/+46
The implementation is so simple it might be considered cheating: at almost every step the expr_ternary is just converted to expr_if.