summaryrefslogtreecommitdiff
path: root/tests/example
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2005-09-02 05:22:23 +0000
committerBob Halley <halley@dnspython.org>2005-09-02 05:22:23 +0000
commit54fd6bc9dec868e903535d8164f255ae8d1b8712 (patch)
treef75a6468de890abee2e8a769231e737340a3cc10 /tests/example
parente163f6673e47268575741f377592847df97196df (diff)
downloaddnspython-54fd6bc9dec868e903535d8164f255ae8d1b8712.tar.gz
treat leading whitespace followed by EOL/EOF as a blank line
Original author: Bob Halley <halley@dnspython.org> Date: 2004-04-09 10:09:59
Diffstat (limited to 'tests/example')
-rw-r--r--tests/example7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/example b/tests/example
index 1b96f1b..f57e968 100644
--- a/tests/example
+++ b/tests/example
@@ -33,6 +33,13 @@ $ORIGIN example.
* MX 10 mail
a TXT "foo foo foo"
PTR foo.net.
+;; The next line not starting with ';;' is leading whitespace followed by
+;; EOL. We want to treat that as if EOL had appeared alone.
+
+;; The next line not starting with ';;' is leading whitespace followed by
+;; a comment followed by EOL. We want to treat that as if EOL had appeared
+;; alone.
+ ; foo
$TTL 3600 ; 1 hour
a01 A 0.0.0.0
a02 A 255.255.255.255