Improve naming of "val" field

This commit is contained in:
Guillaume Gomez
2022-01-03 16:43:30 +01:00
parent f5833e759e
commit bbcf1762dd
12 changed files with 58 additions and 58 deletions

View File

@@ -17,7 +17,7 @@ const PARSED = [
generics: [],
}],
typeFilter: -1,
val: "-> \"p\"",
userQuery: "-> \"p\"",
error: null,
},
// This one checks that if quotes are used on the type filter, they're
@@ -38,7 +38,7 @@ const PARSED = [
original: "\"const\": \"p\"",
returned: [],
typeFilter: 17,
val: "\"const\": \"p\"",
userQuery: "\"const\": \"p\"",
error: null,
},
{
@@ -57,7 +57,7 @@ const PARSED = [
original: "(\"p\")",
returned: [],
typeFilter: -1,
val: "(\"p\")",
userQuery: "(\"p\")",
error: null,
},
// This test checks that a literal item can still have generics.
@@ -83,7 +83,7 @@ const PARSED = [
original: "\"p\"<p>",
returned: [],
typeFilter: -1,
val: "\"p\"<p>",
userQuery: "\"p\"<p>",
error: null,
},
];