From d5b818ea845a6cdf6600993151952fcacdeb818b Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Wed, 23 Mar 2016 13:50:28 -0400 Subject: [PATCH] Fix typo --- sanitiser/_warn_quattroshapes.js | 2 +- test/ciao/reverse/sources_layers_invalid_combo.coffee | 2 +- test/ciao/search/sources_layers_invalid_combo.coffee | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sanitiser/_warn_quattroshapes.js b/sanitiser/_warn_quattroshapes.js index b4486cfe..2b887e5f 100644 --- a/sanitiser/_warn_quattroshapes.js +++ b/sanitiser/_warn_quattroshapes.js @@ -15,7 +15,7 @@ function sanitize( raw, clean, opts ) { 'Quattroshapes will be disabled as a data source for Mapzen Search in the next several ' + 'weeks, and is being replaced by Who\'s on First, an actively maintained data project ' + 'based on Quattroshapes. Your existing queries WILL CONTINUE TO WORK for the foreseeable ' + - 'future, but results will be coming from Who\'s on First and `source=quattroshapes` will ' + + 'future, but results will be coming from Who\'s on First and `sources=quattroshapes` will ' + 'be deprecated. If you have any questions, please email search@mapzen.com.'); } diff --git a/test/ciao/reverse/sources_layers_invalid_combo.coffee b/test/ciao/reverse/sources_layers_invalid_combo.coffee index 7e01d916..25ae9da3 100644 --- a/test/ciao/reverse/sources_layers_invalid_combo.coffee +++ b/test/ciao/reverse/sources_layers_invalid_combo.coffee @@ -27,7 +27,7 @@ should.exist json.geocoding.errors json.geocoding.errors.should.eql [ 'You have specified both the `sources` and `layers` parameters in a combination that will return no results.' ] #? expected warnings -json.geocoding.warnings.should.eql [ 'You are using Quattroshapes as a data source in this query. Quattroshapes will be disabled as a data source for Mapzen Search in the next several weeks, and is being replaced by Who\'s on First, an actively maintained data project based on Quattroshapes. Your existing queries WILL CONTINUE TO WORK for the foreseeable future, but results will be coming from Who\'s on First and `source=quattroshapes` will be deprecated. If you have any questions, please email search@mapzen.com.' ] +json.geocoding.warnings.should.eql [ 'You are using Quattroshapes as a data source in this query. Quattroshapes will be disabled as a data source for Mapzen Search in the next several weeks, and is being replaced by Who\'s on First, an actively maintained data project based on Quattroshapes. Your existing queries WILL CONTINUE TO WORK for the foreseeable future, but results will be coming from Who\'s on First and `sources=quattroshapes` will be deprecated. If you have any questions, please email search@mapzen.com.' ] #? inputs json.geocoding.query['size'].should.eql 10 diff --git a/test/ciao/search/sources_layers_invalid_combo.coffee b/test/ciao/search/sources_layers_invalid_combo.coffee index d11ab21d..d73ca61a 100644 --- a/test/ciao/search/sources_layers_invalid_combo.coffee +++ b/test/ciao/search/sources_layers_invalid_combo.coffee @@ -27,7 +27,7 @@ should.exist json.geocoding.errors json.geocoding.errors.should.eql [ 'You have specified both the `sources` and `layers` parameters in a combination that will return no results.' ] #? expected warnings -json.geocoding.warnings.should.eql [ 'You are using Quattroshapes as a data source in this query. Quattroshapes will be disabled as a data source for Mapzen Search in the next several weeks, and is being replaced by Who\'s on First, an actively maintained data project based on Quattroshapes. Your existing queries WILL CONTINUE TO WORK for the foreseeable future, but results will be coming from Who\'s on First and `source=quattroshapes` will be deprecated. If you have any questions, please email search@mapzen.com.' ] +json.geocoding.warnings.should.eql [ 'You are using Quattroshapes as a data source in this query. Quattroshapes will be disabled as a data source for Mapzen Search in the next several weeks, and is being replaced by Who\'s on First, an actively maintained data project based on Quattroshapes. Your existing queries WILL CONTINUE TO WORK for the foreseeable future, but results will be coming from Who\'s on First and `sources=quattroshapes` will be deprecated. If you have any questions, please email search@mapzen.com.' ] #? inputs json.geocoding.query['text'].should.eql 'a'