summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-11-20 11:25:32 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-11-20 11:25:32 +0000
commit4028fd652dc3751f7137dd5cb41c5480d580feed (patch)
tree8a10c4149f999d7c5b854406e5a1a342546fc8e2 /t
parentd550eb56e42499ec82fb5073a11f8caeafa89094 (diff)
Added xtra numbers to macro test.
Diffstat (limited to 't')
-rwxr-xr-xt/test-parser.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-parser.rb b/t/test-parser.rb
index cb9a9cb..a3b7b43 100755
--- a/t/test-parser.rb
+++ b/t/test-parser.rb
@@ -318,7 +318,7 @@ class TestParser < Test::Unit::TestCase
#
# Define a new macro, and ensure it is now present
#
- parser.parse_line( "FRONTLINESTAGING2 is 89.16.186.138 and 89.16.186.139 and 89.16.186.148." )
+ parser.parse_line( "FRONTLINESTAGING29 is 89.16.186.138 and 89.16.186.139 and 89.16.186.148." )
macros = parser.macros
assert( macros.size() == 1 )
@@ -327,7 +327,7 @@ class TestParser < Test::Unit::TestCase
# Test that we got a suitable value when lookup up the contents
# of that newly defined macro.
#
- values = parser.get_macro_targets( "FRONTLINESTAGING2" )
+ values = parser.get_macro_targets( "FRONTLINESTAGING29" )
assert(values.class.to_s == "Array" )