Skip to content

Commit

Permalink
Test for #709
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Nov 28, 2019
1 parent e40fb33 commit adac1bb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/EleventyFilesTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -595,3 +595,14 @@ test("File extension aliasing", async t => {
].sort()
);
});

test("Test that negations are ignored (for now) PR#709, will change when #693 is implemented", async t => {
t.deepEqual(
EleventyFiles.normalizeIgnoreContent(
"./",
`hello
!testing`
),
["!./hello"]
);
});

0 comments on commit adac1bb

Please sign in to comment.