From 6b95a37833415d8fd1abb85f85e29fb57c05b11c Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 13 Jan 2016 20:51:41 +0000 Subject: [PATCH] Fix test_ordinals This used to work but somewhere along the line it broke and was failing to detect duplicate ordinals - which was the whole point of the test! Reviewed-by: Rich Salz --- test/recipes/01-test_ordinals.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/recipes/01-test_ordinals.t b/test/recipes/01-test_ordinals.t index 53fb21ddb1..6c5efff7df 100755 --- a/test/recipes/01-test_ordinals.t +++ b/test/recipes/01-test_ordinals.t @@ -89,7 +89,7 @@ sub testordinals $newqual =~ s/!//g; if ($cnt > $tokens[1] || ($cnt == $tokens[1] && ($qualifier ne $newqual - || $qualifier eq "FUNCTION"))) { + || $qualifier eq ""))) { print STDERR "Invalid ordinal detected: ".$tokens[1]."\n"; $ret = 0; last; -- 2.25.1