mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibJS: Use assertNotReached() in tests
This commit is contained in:
parent
92a9fe0e49
commit
b9415dc0e9
Notes:
sideshowbarker
2024-07-19 07:37:53 +09:00
Author: https://github.com/linusg
Commit: b9415dc0e9
Pull-request: https://github.com/SerenityOS/serenity/pull/1782
8 changed files with 36 additions and 27 deletions
|
@ -2,6 +2,7 @@ var a = "foo";
|
|||
|
||||
switch (a + "bar") {
|
||||
case 1:
|
||||
assertNotReached();
|
||||
break;
|
||||
case "foobar":
|
||||
case 2:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue