Explorar el Código

Fix stale ls test expectation

dan mackinlay hace 1 mes
padre
commit
06f5642252
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      test/cli.test.ts

+ 1 - 2
test/cli.test.ts

@@ -837,8 +837,7 @@ describe("CLI ls Command", () => {
   test("lists files in a collection", async () => {
     const { stdout, exitCode } = await runQmd(["ls", "fixtures"], { dbPath: localDbPath });
     expect(exitCode).toBe(0);
-    // handelize converts to lowercase
-    expect(stdout).toContain("qmd://fixtures/readme.md");
+    expect(stdout).toContain("qmd://fixtures/README.md");
     expect(stdout).toContain("qmd://fixtures/notes/meeting.md");
   });