瀏覽代碼

Fix stale ls test expectation

dan mackinlay 1 月之前
父節點
當前提交
06f5642252
共有 1 個文件被更改,包括 1 次插入2 次删除
  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");
   });