summarylogtreecommitdiffstats
path: root/10-syntax.t.diff
diff options
context:
space:
mode:
Diffstat (limited to '10-syntax.t.diff')
-rw-r--r--10-syntax.t.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/10-syntax.t.diff b/10-syntax.t.diff
new file mode 100644
index 000000000000..f1c3b8982c2d
--- /dev/null
+++ b/10-syntax.t.diff
@@ -0,0 +1,25 @@
+--- a/10-syntax.t
++++ b/10-syntax.t
+@@ -4,9 +4,9 @@
+ use Test::HTTP '-syntax', tests => 2;
+
+ test_http "Socialtext" {
+- >> GET http://www.socialtext.com/
++ >> GET http://www.socialtext.net/
+
+- << 200
++ << 301
+ }
+
+ # Method in a variable should be OK, too.
+@@ -14,7 +14,7 @@
+ test_http "method in variable" {
+ my $method = 'GET';
+
+- >> $method http://www.socialtext.com/
++ >> $method http://www.socialtext.net/
+
+- << 200
++ << 301
+ }
+