Merge branch 'jc/extended-fake-ancestor-for-gitlink'
[gitweb.git] / t / t9700 / test.pl
index 3b9b48408a87150fad9b1ac1f8cf5ea65e2b09ba..0d4e366232c29bdde0e1059d431ae96afc259112 100755 (executable)
@@ -46,8 +46,7 @@ BEGIN
 # Save and restore STDERR; we will probably extract this into a
 # "dies_ok" method and possibly move the STDERR handling to Git.pm.
 open our $tmpstderr, ">&STDERR" or die "cannot save STDERR"; close STDERR;
-eval { $r->config("test.dupstring") };
-ok($@, "config: duplicate entry in scalar context fails");
+is($r->config("test.dupstring"), "value2", "config: multivar");
 eval { $r->config_bool("test.boolother") };
 ok($@, "config_bool: non-boolean values fail");
 open STDERR, ">&", $tmpstderr or die "cannot restore STDERR";