about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/editors/code/tests
diff options
context:
space:
mode:
authorhuntc <huntchr@gmail.com>2024-07-30 16:38:47 +1000
committerhuntc <huntchr@gmail.com>2024-07-30 16:38:47 +1000
commit6b4c0e03f84fdb10be959cdbd10bdd1f628a51bb (patch)
tree10efa2f30f3ed2e60a60f1483bca03f4bd7b1a25 /src/tools/rust-analyzer/editors/code/tests
parent786ef8393c78819d09d519939dd103b89b000a44 (diff)
Further simplifications
Diffstat (limited to 'src/tools/rust-analyzer/editors/code/tests')
-rw-r--r--src/tools/rust-analyzer/editors/code/tests/unit/bootstrap.test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/rust-analyzer/editors/code/tests/unit/bootstrap.test.ts b/src/tools/rust-analyzer/editors/code/tests/unit/bootstrap.test.ts
index 6e17d73adc4..884e73e454a 100644
--- a/src/tools/rust-analyzer/editors/code/tests/unit/bootstrap.test.ts
+++ b/src/tools/rust-analyzer/editors/code/tests/unit/bootstrap.test.ts
@@ -16,7 +16,7 @@ export async function getTests(ctx: Context) {
                         return "rust-analyzer 1.67.0-nightly (b7bc90fe 2022-11-21)";
                     },
                 ),
-                "0-2022-11-21/0",
+                "0-2022-11-21",
             );
         });
 
@@ -32,7 +32,7 @@ export async function getTests(ctx: Context) {
                         return "rust-analyzer 1.72.1 (d5c2e9c3 2023-09-13)";
                     },
                 ),
-                "0-2023-09-13/1",
+                "1-2023-09-13",
             );
         });
 
@@ -60,14 +60,14 @@ export async function getTests(ctx: Context) {
                         return "rust-analyzer 1.79.0 (129f3b99 2024-06-10)";
                     },
                 ),
-                "0-2024-06-10/1",
+                "1-2024-06-10",
             );
         });
 
         suite.addTest("Order with invalid path to RA", async () => {
             assert.deepStrictEqual(
                 _private.orderFromPath("some-weird-path", function () {
-                    assert.fail("Shouldn't get here.");
+                    return undefined;
                 }),
                 "2",
             );