Check-in [b11090f441]
Not logged in
Overview
SHA1 Hash:b11090f44148c63d9817a81ea851c85036bb6da1
Date: 2010-11-08 20:45:45
User: kinaba
Comment:Pretty Printing of unittest success
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | manifest
Tags And Properties
Changes

Modified main.d from [5cef40bce7835081] to [36044e05d28ff416].

4 * 4 * 5 * Entry point for Polemy interpreter. 5 * Entry point for Polemy interpreter. 6 */ 6 */ 7 7 8 import std.stdio; 8 import std.stdio; 9 import polemy.eval; 9 import polemy.eval; 10 10 11 version(unittest) < 12 static ~this() { readln(); } // workaround for enabling "pause" under Po < 13 < 14 void main() | 11 void main( string[] args ) 15 { 12 { > 13 version(unittest) > 14 { 16 writeln( "test ok" ); | 15 writeln( "***********************" ); > 16 writeln( "* All Tests Passed <3 *" ); > 17 writeln( "*********************** (Press Enter to finish)" ); > 18 readln(); > 19 return; > 20 } 17 } 21 }