Wiki
Show
Ignore:
Timestamp:
02/27/10 09:18:29 (2 years ago)
Author:
Chuck.Esterbrook
Message:

Use the new Cobra.Lang.Test.TestRunner? for running inline unit tests.
Fix some test cases from the last checkin.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cobra/trunk/Source/CommandLine.cobra

    r2275 r2291  
    714714            print 'Not running tests due to errors above.' 
    715715            return 
    716         testInvoker = c.modules[c.modules.count-1]  # CC: .last 
     716        testInvoker = c.modules.last 
    717717        assert testInvoker inherits NativeModule 
    718718        assert testInvoker.fileName.startsWith('test-')