Skip to content

Commit 1f19aa3

Browse files
committed
Change message to match assertion
1 parent 0b2c1ee commit 1f19aa3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/shared_functions.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import * as builder from "../src/runtime/builder";
66
import {InsertAction, RemoveAction} from "../src/runtime/actions";
77
import {BrowserSessionDatabase} from "../src/runtime/databases/browserSession";
88

9-
109
export function dedent(str) {
1110
let lines = [];
1211
let indent;
@@ -127,8 +126,8 @@ export function resolveActualExpected(assert, actuals, expecteds, entities) {
127126
}
128127

129128
export function verify(assert, adds, removes, data) {
130-
assert.equal(data.insert.length, adds.length, "Wrong number of inserts");
131-
assert.equal(data.remove.length, removes.length, "Wrong number of removes");
129+
assert.equal(data.insert.length, adds.length, "Correct number of inserts");
130+
assert.equal(data.remove.length, removes.length, "Correct number of removes");
132131

133132
// get all the entities
134133
let entities = collectEntities(adds);
@@ -165,7 +164,7 @@ export function evaluate(assert, expected, code, session = new Database()) {
165164
return next;
166165
}
167166

168-
export function testSingleExpressionByList(list:any[]){
167+
export function testSingleExpressionByList(list:any[]){
169168
list.forEach((list_item,index) =>{
170169
test(`Is ${list_item.Expression} returning ${list_item.Value}?`, (assert) => {
171170
let expected = {

0 commit comments

Comments
 (0)