Skip to content

Commit 08263d0

Browse files
committed
Fix rust tests
Signed-off-by: Louis Mandel <[email protected]>
1 parent d1c3630 commit 08263d0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pdl-live-react/src-tauri/src/pdl/interpreter_tests.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ mod tests {
277277
"defs": {
278278
"foo": {
279279
"function": {
280-
"x": "int"
280+
"x": "integer"
281281
},
282282
"return": {
283283
"description": "unary function",
@@ -687,8 +687,8 @@ mod tests {
687687
"regex": "[^0-9]*(?P<answer1>[0-9]+)[^0-9]*(?P<answer2>[0-9]+)$",
688688
"mode": "findall",
689689
"spec": {
690-
"answer1": "str",
691-
"answer2": "str"
690+
"answer1": "string",
691+
"answer2": "string"
692692
}
693693
}
694694
});
@@ -707,8 +707,8 @@ mod tests {
707707
"parser": {
708708
"regex": "[^0-9]*(?P<answer1>[0-9]+)[^0-9]*(?P<answer2>[0-9]+)$",
709709
"spec": {
710-
"answer1": "str",
711-
"answer2": "str"
710+
"answer1": "string",
711+
"answer2": "string"
712712
}
713713
}
714714
});
@@ -728,7 +728,7 @@ mod tests {
728728
"parser": {
729729
"regex": "[^0-9]*(?P<answer1>[0-9]+)[^0-9]*(?P<answer2>[0-9]+)$",
730730
"spec": {
731-
"answer1": "str",
731+
"answer1": "string",
732732
}
733733
}
734734
});

0 commit comments

Comments
 (0)