Skip to content

Commit

Permalink
Fixed test expectations.
Browse files Browse the repository at this point in the history
  • Loading branch information
zvonler committed Oct 20, 2023
1 parent 933cc5b commit 15b07a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/integrationtest/lib/lib_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -817,9 +817,9 @@ func TestQualifiedSearch(t *testing.T) {
runSearch("name:MKRIoTCarrier", []string{"Arduino_MKRIoTCarrier"})
runSearch("name=Arduino_MKRIoTCarrier", []string{"Arduino_MKRIoTCarrier"})
// Embedded space in double-quoted string
runSearch("name=\"dht sensor library\"", []string{"DHT sensor library", "DHT sensor library for ESPx", "SimpleDHT", "SDHT"})
runSearch("name=\"dht sensor library\"", []string{"DHT sensor library"})
// No closing double-quote
runSearch("name=\"dht sensor library", []string{"DHT sensor library", "DHT sensor library for ESPx", "SimpleDHT", "SDHT"})
runSearch("name=\"dht sensor library", []string{"DHT sensor library"})
runSearch("name:\"sensor dht\"", []string{})
// Literal double-quote
runSearch("sentence:\\\"", []string{"RTCtime"})
Expand Down

0 comments on commit 15b07a5

Please sign in to comment.