1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
6 The production Assertion :: \b evaluates by returning an internal
7 AssertionTester closure that takes a State argument x and performs the ...
10 Execute /\bro/.exec("pilot\nsoviet robot\topenoffice") and check
14 var __executed = /\bro/.exec("pilot\nsoviet robot\topenoffice");
16 var __expected = ["ro"];
17 __expected.index = 13;
18 __expected.input = "pilot\nsoviet robot\topenoffice";
23 'The value of __executed.length is expected to equal the value of __expected.length'
29 'The value of __executed.index is expected to equal the value of __expected.index'
35 'The value of __executed.input is expected to equal the value of __expected.input'
38 for(var index=0; index<__expected.length; index++) {
42 'The value of __executed[index] is expected to equal the value of __expected[index]'