From eeb388a844ffac14bd36ec81e3b9c4053d1af01c Mon Sep 17 00:00:00 2001 From: matteo-cristino Date: Thu, 22 Feb 2024 09:44:08 +0100 Subject: [PATCH] =?UTF-8?q?test(zencode):=20=F0=9F=A7=AA=20update=20pointe?= =?UTF-8?q?r=20test=20to=20float?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/zencode/table.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/zencode/table.bats b/test/zencode/table.bats index 4a9612f78..5eacdb7c6 100644 --- a/test/zencode/table.bats +++ b/test/zencode/table.bats @@ -64,7 +64,7 @@ Then print 'pointer' and print 'dataFromEndpoint' EOF save_output 'pointer.out' - assert_output '{"dataFromEndpoint":{"cod":"200","count":"1","list":[{"clouds":{"all":"20"},"coord":{"lat":"43.766701","lon":"11.25"},"dt":1624277371,"id":"3.176959e+06","main":{"feels_like":"305.320007","humidity":"48","key_inside_list":"main","pressure":"1010","temp":"304.109985","temp_max":"304.820007","temp_min":"303.149994"},"name":"Florence","sys":{"country":"IT"},"weather":[{"description":"few clouds","icon":"02d","id":"801","main":"Clouds"}],"wind":{"deg":"0","speed":"2.06"}}],"message":"accurate"},"pointer":{"feels_like":"305.320007","humidity":"48","key_inside_list":"main","pressure":"1010","temp":"304.109985","temp_max":"304.820007","temp_min":"303.149994"}}' + assert_output '{"dataFromEndpoint":{"cod":"200","count":1,"list":[{"clouds":{"all":20},"coord":{"lat":43.7667,"lon":11.25},"dt":1624277371,"id":3176959.0,"main":{"feels_like":305.32,"humidity":48,"key_inside_list":"main","pressure":1010,"temp":304.11,"temp_max":304.82,"temp_min":303.15},"name":"Florence","sys":{"country":"IT"},"weather":[{"description":"few clouds","icon":"02d","id":801,"main":"Clouds"}],"wind":{"deg":0,"speed":2.06}}],"message":"accurate"},"pointer":{"feels_like":305.32,"humidity":48,"key_inside_list":"main","pressure":1010,"temp":304.11,"temp_max":304.82,"temp_min":303.15}}' } @test "pointer fails" {