From 4dab22a5fdb62d0b96ac8c3b9284cf0f033a0408 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 22 Nov 2016 07:33:50 +0000 Subject: [PATCH] Bug 17278: Fix test compilation errors Signed-off-by: Martin Renvoize Signed-off-by: Mason James (cherry picked from commit 7a7a9c7958e21112c6d18313b41c6605ec1b3d08) Signed-off-by: Julian Maurice --- t/db_dependent/Search.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t index 9e3ad02d9c..97e3619508 100644 --- a/t/db_dependent/Search.t +++ b/t/db_dependent/Search.t @@ -642,7 +642,7 @@ if ( $indexing_mode eq 'dom' ) { ( $error, $query, $simple_query, $query_cgi, $query_desc, $limit, $limit_cgi, $limit_desc, $query_type ) = buildQuery([], [ 'ccl=an:42' ], [], ['available'], [], 0, 'en'); - is( $query, 'an:42 and ( ( allrecords,AlwaysMatches:'' not onloan,AlwaysMatches:'') and (lost,st-numeric=0) )', 'buildQuery should add the available part to the query if requested with ccl' ); + is( $query, "an:42 and ( ( allrecords,AlwaysMatches:'' not onloan,AlwaysMatches:'') and (lost,st-numeric=0) )", 'buildQuery should add the available part to the query if requested with ccl' ); is( $query_desc, 'an:42', 'buildQuery should remove the available part from the query' ); # Let's see what happens when we pass bad data into these routines. -- 2.39.5