Skip to content

Commit

Permalink
test(mantaray): extend testwalknode with additional paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Levente Kiss committed May 5, 2024
1 parent bbae607 commit a8aa983
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkg/manifest/mantaray/walker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@ func TestWalkNode(t *testing.T) {
{
name: "simple",
toAdd: [][]byte{
[]byte("index.html.backup"),
[]byte("index.html"),
[]byte("img/1.png"),
[]byte("img/test/oho.png"),
[]byte("img/test/old/test.png.backup"),
[]byte("img/test/old/test.png"),
[]byte("img/2.png"),
[]byte("img/1.png"),
[]byte("robots.txt"),
},
expected: [][]byte{
Expand All @@ -35,7 +39,12 @@ func TestWalkNode(t *testing.T) {
[]byte("img/"),
[]byte("img/1.png"),
[]byte("img/2.png"),
[]byte("img/test/o"),
[]byte("img/test/oho.png"),
[]byte("img/test/old/test.png"),
[]byte("img/test/old/test.png.backup"),
[]byte("index.html"),
[]byte("index.html.backup"),
[]byte("robots.txt"),
},
},
Expand Down

0 comments on commit a8aa983

Please sign in to comment.