From c18dc15694f3eb14cc7538cd8a4cd782f339bffe Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 7 Apr 2011 12:20:22 +0200 Subject: [PATCH] tests: Add test for auto-closing at end of file --- tests/css/parser/Makefile.am | 2 ++ tests/css/parser/close-at-end-of-file.css | 2 ++ tests/css/parser/close-at-end-of-file.ref.css | 3 +++ 3 files changed, 7 insertions(+) create mode 100644 tests/css/parser/close-at-end-of-file.css create mode 100644 tests/css/parser/close-at-end-of-file.ref.css diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am index 30b6013e30..36354f9ec2 100644 --- a/tests/css/parser/Makefile.am +++ b/tests/css/parser/Makefile.am @@ -25,6 +25,8 @@ clean-local: rm $(builddir)/*.out.css || true EXTRA_DIST += \ + close-at-end-of-file.css \ + close-at-end-of-file.ref.css \ does-not-exist.css \ does-not-exist.ref.css \ no-semicolon.css \ diff --git a/tests/css/parser/close-at-end-of-file.css b/tests/css/parser/close-at-end-of-file.css new file mode 100644 index 0000000000..86ffa99add --- /dev/null +++ b/tests/css/parser/close-at-end-of-file.css @@ -0,0 +1,2 @@ +foo { + color: rgb(255,255,255) diff --git a/tests/css/parser/close-at-end-of-file.ref.css b/tests/css/parser/close-at-end-of-file.ref.css new file mode 100644 index 0000000000..2dd4e4fab7 --- /dev/null +++ b/tests/css/parser/close-at-end-of-file.ref.css @@ -0,0 +1,3 @@ +foo { + color: rgb(255,255,255); +}