# HG changeset patch # User Mike Becker # Date 1664792830 -7200 # Node ID 60decfc9ad135cb0a8266c9975898534ae6c8708 # Parent 12d8f0f6ef062aaf86e1dc9190c42687bea68226 add test for empty file diff -r 12d8f0f6ef06 -r 60decfc9ad13 Makefile --- a/Makefile Mon Oct 03 12:14:53 2022 +0200 +++ b/Makefile Mon Oct 03 12:27:10 2022 +0200 @@ -57,10 +57,13 @@ -H test/header.html -F test/footer.html ./build/$(BIN) -p test/plain.csp -o build/plain.html \ -H test/header.html -F test/footer.html + ./build/$(BIN) -p test/emptyfile.c -o build/emptyfile.html \ + -H test/header.html -F test/footer.html diff build/ctest.html test/golden-master/ctest.html && \ diff build/javatest.html test/golden-master/javatest.html && \ diff build/bigtest.html test/golden-master/bigtest.html && \ - diff build/plain.html test/golden-master/plain.html + diff build/plain.html test/golden-master/plain.html && \ + diff build/emptyfile.html test/golden-master/emptyfile.html clean: $(RM) $(RMFLAGS) build diff -r 12d8f0f6ef06 -r 60decfc9ad13 test/emptyfile.c diff -r 12d8f0f6ef06 -r 60decfc9ad13 test/golden-master/emptyfile.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/golden-master/emptyfile.html Mon Oct 03 12:27:10 2022 +0200 @@ -0,0 +1,54 @@ + + + + c2html + + + + +
+1 
+
+ + +