Skip to content

Commit

Permalink
test: update test data
Browse files Browse the repository at this point in the history
  • Loading branch information
piedar committed Aug 10, 2021
1 parent a5b7543 commit 50084dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/ipfs-read.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ const rawTestCases: TestCase[] = [
expectedBuffer: Buffer.from("hello\n"),
},

shouldMatch("/var/cache/distfiles/brotli-1.0.7.tar.gz", "/ipfs/QmeEgFmqRA6ryJBC6WhvMsazdG2dSqdEfP5BvuhPCdg24y"),
shouldMatch("/var/cache/distfiles/warzone2100-3.3.0_src.tar.xz", "/ipfs/QmZaxhnqkd1aNx51d9Y1yoMvnri6tQHdNEN6Zz2neSQUmo"),
shouldMatch("/var/cache/distfiles/go-ipfs-0.9.1.tar.gz", "/ipfs/QmUVYEkMcw51Fdn6LNsArP1SWZtnd3NCamULTwJAc9cXiH"),
shouldMatch("/var/cache/distfiles/bash-5.1.tar.gz", "/ipfs/QmaKCo5bzwPzv373WRNUhkYumPamDKERLSUS9EydSVBgwM"),
shouldMatch("/usr/share/wesnoth/data/core/music/silence.ogg", "/ipfs/QmXNJ8c1UJsMSza5zGXFp31ZxTiXwDajgA94Qusg7dCPZX"),
shouldMatch("/usr/share/wesnoth/data/core/music/battle.ogg", "/ipfs/QmQdktw4UY5oVYBuErqiABCSyuMa5qjRF6buFRzaQfUbq4"),
]
Expand Down
4 changes: 2 additions & 2 deletions lib/mfs-write.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const testCases = [
name: "hello",
expectedBuffer: Buffer.from("hello\n"),
},
fileTest("/var/cache/distfiles/brotli-1.0.7.tar.gz"),
fileTest("/var/cache/distfiles/warzone2100-3.3.0_src.tar.xz"),
fileTest("/var/cache/distfiles/go-ipfs-0.9.1.tar.gz"),
fileTest("/var/cache/distfiles/bash-5.1.tar.gz"),
]


Expand Down

0 comments on commit 50084dc

Please sign in to comment.