todo: testing

This commit is contained in:
Chris Wanstrath 2011-09-04 13:46:52 -07:00
parent 38e1065ae4
commit de2ffdf25d

View File

@ -5,6 +5,7 @@ root = OSX.NSBundle.mainBundle.resourcePath
code = OSX.NSString.stringWithContentsOfFile path = "#{root}/src/require.js"
__jsc__.evalJSString_withScriptPath code, path
# TODO: turn these into real unit tests
OSX.NSLog 'require tests:'
OSX.NSLog require.resolve 'underscore'
OSX.NSLog require.resolve 'osx'