Skip to content

Commit

Permalink
update base tests (slash is respected)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Mar 11, 2024
1 parent dc91f63 commit 9b43aaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/base.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { withBase, withoutBase } from "../src";
describe("withBase", () => {
const tests = [
{ base: "/", input: "/", out: "/" },
{ base: "/foo", input: "/", out: "/foo" },
{ base: "/foo/", input: "/", out: "/foo" },
{ base: "/foo", input: "", out: "/foo" },
{ base: "/foo/", input: "/", out: "/foo/" },
{ base: "/foo", input: "/bar", out: "/foo/bar" },
{ base: "/base/", input: "/base", out: "/base" },
{ base: "/base", input: "/base/", out: "/base/" },
Expand Down

0 comments on commit 9b43aaf

Please sign in to comment.