Skip to content

Commit 3334bb0

Browse files
committed
Update test
1 parent 06641f1 commit 3334bb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/testUtils.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ describe("utils", () => {
3939
toQuery({
4040
"type": "event",
4141
"id": 44.0,
42-
"id2": 35.7,
42+
"float": 35.7,
4343
"values": [true, false, null],
4444
"source": {
4545
"type": "component",
4646
"id": "a+b&c= d",
4747
"values": [3, 4]
4848
}
4949
})
50-
).toBe("type=event&id=44&id2=35.7&values=true&values.2_=false&values.3_=null&type.2_=component&id.2_=a%2Bb%26c%3D+d&values.4_=3&values.5_=4");
50+
).toBe("type=event&id=44&float=35.7&values=true&values.2_=false&values.3_=null&type.2_=component&id.2_=a%2Bb%26c%3D+d&values.4_=3&values.5_=4");
5151
});
5252

5353
test("post-to-get empty", () => {

0 commit comments

Comments
 (0)