Skip to content

Commit

Permalink
test(zencode): 🧪 update tests result according to latest modification
Browse files Browse the repository at this point in the history
float in the range of 1500000000 and 2000000000 are imported as time
  • Loading branch information
matteo-cristino authored and jaromil committed Feb 3, 2024
1 parent be27311 commit 8ceddca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/zencode/table.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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":"1.624277e+09","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.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"}}'
}

@test "pointer fails" {
Expand Down

0 comments on commit 8ceddca

Please sign in to comment.