From ec05778d5718a7912e506764d443a78d6a6179e3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 5 Nov 2012 22:41:51 +0000 Subject: Converted tabs to spaces with tabconv. --- src/tests/print.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/tests/print.cpp') diff --git a/src/tests/print.cpp b/src/tests/print.cpp index c6fe053..bee8cf8 100644 --- a/src/tests/print.cpp +++ b/src/tests/print.cpp @@ -2,30 +2,30 @@ int upper() { - static int iVal = 1; - return iVal++; + static int iVal = 1; + return iVal++; } int main() { - Bu::print("hello there %1!\n").arg("Bob"); + Bu::print("hello there %1!\n").arg("Bob"); - Bu::println("This is %1 crazy, like %2 times over!"). - arg("totally").arg( 47.2 ).end(); - Bu::println("This is unsubstituted?"); + Bu::println("This is %1 crazy, like %2 times over!"). + arg("totally").arg( 47.2 ).end(); + Bu::println("This is unsubstituted?"); - Bu::serr << "This is error text." << Bu::serr.nl; - Bu::println( Bu::serr, "This is also error text?"); + Bu::serr << "This is error text." << Bu::serr.nl; + Bu::println( Bu::serr, "This is also error text?"); - Bu::println("This is %{1}000 - %{1}.").arg( 34, Bu::Fmt().width(10).fill('0') ); + Bu::println("This is %{1}000 - %{1}.").arg( 34, Bu::Fmt().width(10).fill('0') ); - Bu::String s = Bu::String("hello %1").arg("bob %1").end().toLower().arg("yo"); + Bu::String s = Bu::String("hello %1").arg("bob %1").end().toLower().arg("yo"); - Bu::println( s ); - Bu::println("Hello %%1"); + Bu::println( s ); + Bu::println("Hello %%1"); - Bu::println("Nums: %1, %2, %3, %4, %5, %6").arg( upper() ).arg( upper() ).arg( upper() ).arg( upper() ).arg( upper() ).arg( upper() ); + Bu::println("Nums: %1, %2, %3, %4, %5, %6").arg( upper() ).arg( upper() ).arg( upper() ).arg( upper() ).arg( upper() ).arg( upper() ); - return 0; + return 0; } -- cgit v1.2.3