Changeset 18 for trunk

Show
Ignore:
Timestamp:
04/15/06 01:23:12 (3 years ago)
Author:
scottmc
Message:

Minor test modifications to make sure things are working properly

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/sagot/tests/test.js

    r9 r18  
    66var test = { 
    77    foo: "Foo...", 
    8     bar: function () {  
     8    bar: function (foo) {  
    99        print("Word up") 
    10         print(this.foo)  
     10        print(foo)  
     11        print(this.foo) 
     12        loop.quit() 
    1113    } 
    1214} 
    1315 
    14 loop.yield(test.bar, "") 
    15  
     16loop.yield(test, "bar", "one") 
     17loop.yield(test, "bar", "two") 
     18loop.yield(test, "bar", "three") 
    1619loop.run()