diff --git a/MacOS/Nu-framework/Nu.xcodeproj/xcuserdata/tim.xcuserdatad/xcschemes/NuApp.xcscheme b/MacOS/Nu-framework/Nu.xcodeproj/xcuserdata/tim.xcuserdatad/xcschemes/NuApp.xcscheme index 4a6adad..576fac7 100644 --- a/MacOS/Nu-framework/Nu.xcodeproj/xcuserdata/tim.xcuserdatad/xcschemes/NuApp.xcscheme +++ b/MacOS/Nu-framework/Nu.xcodeproj/xcuserdata/tim.xcuserdatad/xcschemes/NuApp.xcscheme @@ -25,7 +25,7 @@ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB" shouldUseLaunchSchemeArgsEnv = "YES" - buildConfiguration = "Release"> + buildConfiguration = "Debug"> @@ -34,7 +34,7 @@ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB" launchStyle = "0" useCustomWorkingDirectory = "NO" - buildConfiguration = "Release" + buildConfiguration = "Debug" enablesOpenGLESFrameCapture = "YES"> = toptime (+ onetime twotime threetime)))))) + (assert_true (>= toptime (+ onetime twotime threetime))))) diff --git a/test/test_strings.nu b/test/test_strings.nu index 4023f1c..f2e216c 100644 --- a/test/test_strings.nu +++ b/test/test_strings.nu @@ -27,23 +27,20 @@ (assert_equal "24" "#{(* 6 4)}")) (- (id) testOctalEscapedStrings is - (if (eq (uname) "Darwin") ;; requires UTF-8 - (assert_equal 0 ("\000" characterAtIndex:0))) + (assert_equal 0 ("\000" characterAtIndex:0)) (assert_equal 1 ("\001" characterAtIndex:0)) (assert_equal 255 ("\377" characterAtIndex:0))) (- (id) testHexEscapedStrings is - (if (eq (uname) "Darwin") ;; requires UTF-8 - (assert_equal 0 ("\x00" characterAtIndex:0))) + (assert_equal 0 ("\x00" characterAtIndex:0)) (assert_equal 1 ("\x01" characterAtIndex:0)) (assert_equal 255 ("\xfF" characterAtIndex:0))) - (if (eq (uname) "Darwin") ;; requires UTF-8 - (- (id) testUnicodeEscapedStrings is - (assert_equal 0 ("\u0000" characterAtIndex:0)) - (assert_equal 1 ("\u0001" characterAtIndex:0)) - (assert_equal 255 ("\u00ff" characterAtIndex:0)) - (assert_equal 65535 ("\uFfFf" characterAtIndex:0)))) + (- (id) testUnicodeEscapedStrings is + (assert_equal 0 ("\u0000" characterAtIndex:0)) + (assert_equal 1 ("\u0001" characterAtIndex:0)) + (assert_equal 255 ("\u00ff" characterAtIndex:0)) + (assert_equal 65535 ("\uFfFf" characterAtIndex:0))) (- (id) testEscapedHereStrings is (set x <<+END @@ -73,14 +70,13 @@ (assert_equal 1 (x characterAtIndex:1)) (assert_equal 255 (x characterAtIndex:2))) - (if (eq (uname) "Darwin") ;; requires UTF-8 - (- (id) testUnicodeEscapedHereStrings is - (set x <<+END + (- (id) testUnicodeEscapedHereStrings is + (set x <<+END \u0000\u0001\u00ff\uFfFfEND) - (assert_equal 0 (x characterAtIndex:0)) - (assert_equal 1 (x characterAtIndex:1)) - (assert_equal 255 (x characterAtIndex:2)) - (assert_equal 65535 (x characterAtIndex:3)))) + (assert_equal 0 (x characterAtIndex:0)) + (assert_equal 1 (x characterAtIndex:1)) + (assert_equal 255 (x characterAtIndex:2)) + (assert_equal 65535 (x characterAtIndex:3))) (- (id) testExplicitlyUnescapedStrings is (assert_equal 92 (-"\n" characterAtIndex:0)) diff --git a/test/test_templates.nu b/test/test_templates.nu index 5d082c4..87bc1fa 100644 --- a/test/test_templates.nu +++ b/test/test_templates.nu @@ -3,7 +3,6 @@ ;; ;; Copyright (c) 2007 Tim Burks, Radtastical Inc. -(if (eq (uname) "Darwin") (load "template") (class TestTemplates is NuTestCase @@ -34,4 +33,4 @@ END) (set result (eval template)) (assert_equal goal result))) -) +