diff --git a/test/EleventyFilesTest.js b/test/EleventyFilesTest.js index be6850ea3..6d7debbc7 100644 --- a/test/EleventyFilesTest.js +++ b/test/EleventyFilesTest.js @@ -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"] + ); +});