test(adapter): prevent test failure

This commit is contained in:
kbwo 2024-08-13 21:47:55 +09:00
parent 48e397efd3
commit ef51778b60
2 changed files with 3 additions and 3 deletions

View file

@ -301,8 +301,8 @@ mod tests {
}
},
TestItem {
id: String::from("fail1"),
name: String::from("fail1"),
id: String::from("fail2"),
name: String::from("fail2"),
start_position: Range {
start: Position {
line: 15,

View file

@ -13,6 +13,6 @@ Deno.test(function fail1() {
assertEquals(add(2, 5), 5);
});
Deno.test(function fail1() {
Deno.test(function fail2() {
assert(throwFn());
});