Skip to content

Commit

Permalink
tests: Rebuild guess tests for 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
gilmoreorless committed Jan 28, 2025
1 parent cfefd24 commit c666ad1
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions tests/zones/america/belize.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["America/Belize"] = {

"guess:by:offset" : helpers.makeTestGuess("America/Belize", { offset: true, expect: "America/Managua" }),
"guess:by:offset" : helpers.makeTestGuess("America/Belize", { offset: true, expect: "America/Mexico_City" }),

"guess:by:abbr" : helpers.makeTestGuess("America/Belize", { abbr: true, expect: "America/Managua" }),
"guess:by:abbr" : helpers.makeTestGuess("America/Belize", { abbr: true, expect: "America/Mexico_City" }),

"1912" : helpers.makeTestYear("America/Belize", [
["1912-04-01T05:52:47+00:00", "23:59:59", "LMT", 21168 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/america/chihuahua.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["America/Chihuahua"] = {

"guess:by:offset" : helpers.makeTestGuess("America/Chihuahua", { offset: true }),
"guess:by:offset" : helpers.makeTestGuess("America/Chihuahua", { offset: true, expect: "America/Mexico_City" }),

"guess:by:abbr" : helpers.makeTestGuess("America/Chihuahua", { abbr: true }),
"guess:by:abbr" : helpers.makeTestGuess("America/Chihuahua", { abbr: true, expect: "America/Mexico_City" }),

"1922" : helpers.makeTestYear("America/Chihuahua", [
["1922-01-01T06:59:59+00:00", "23:55:39", "LMT", 25460 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/america/ciudad_juarez.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["America/Ciudad_Juarez"] = {

"guess:by:offset" : helpers.makeTestGuess("America/Ciudad_Juarez", { offset: true }),
"guess:by:offset" : helpers.makeTestGuess("America/Ciudad_Juarez", { offset: true, expect: "America/Denver" }),

"guess:by:abbr" : helpers.makeTestGuess("America/Ciudad_Juarez", { abbr: true }),
"guess:by:abbr" : helpers.makeTestGuess("America/Ciudad_Juarez", { abbr: true, expect: "America/Denver" }),

"1922" : helpers.makeTestYear("America/Ciudad_Juarez", [
["1922-01-01T06:59:59+00:00", "23:54:03", "LMT", 25556 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/america/costa_rica.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["America/Costa_Rica"] = {

"guess:by:offset" : helpers.makeTestGuess("America/Costa_Rica", { offset: true, expect: "America/Managua" }),
"guess:by:offset" : helpers.makeTestGuess("America/Costa_Rica", { offset: true, expect: "America/Mexico_City" }),

"guess:by:abbr" : helpers.makeTestGuess("America/Costa_Rica", { abbr: true, expect: "America/Managua" }),
"guess:by:abbr" : helpers.makeTestGuess("America/Costa_Rica", { abbr: true, expect: "America/Mexico_City" }),

"1890" : helpers.makeTestYear("America/Costa_Rica", [
["1890-01-01T05:36:12+00:00", "23:59:59", "LMT", 20173 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/america/el_salvador.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["America/El_Salvador"] = {

"guess:by:offset" : helpers.makeTestGuess("America/El_Salvador", { offset: true, expect: "America/Managua" }),
"guess:by:offset" : helpers.makeTestGuess("America/El_Salvador", { offset: true, expect: "America/Mexico_City" }),

"guess:by:abbr" : helpers.makeTestGuess("America/El_Salvador", { abbr: true, expect: "America/Managua" }),
"guess:by:abbr" : helpers.makeTestGuess("America/El_Salvador", { abbr: true, expect: "America/Mexico_City" }),

"1921" : helpers.makeTestYear("America/El_Salvador", [
["1921-01-01T05:56:47+00:00", "23:59:59", "LMT", 21408 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/america/guatemala.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["America/Guatemala"] = {

"guess:by:offset" : helpers.makeTestGuess("America/Guatemala", { offset: true, expect: "America/Managua" }),
"guess:by:offset" : helpers.makeTestGuess("America/Guatemala", { offset: true, expect: "America/Mexico_City" }),

"guess:by:abbr" : helpers.makeTestGuess("America/Guatemala", { abbr: true, expect: "America/Managua" }),
"guess:by:abbr" : helpers.makeTestGuess("America/Guatemala", { abbr: true, expect: "America/Mexico_City" }),

"1918" : helpers.makeTestYear("America/Guatemala", [
["1918-10-05T06:02:03+00:00", "23:59:59", "LMT", 21724 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/america/managua.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["America/Managua"] = {

"guess:by:offset" : helpers.makeTestGuess("America/Managua", { offset: true }),
"guess:by:offset" : helpers.makeTestGuess("America/Managua", { offset: true, expect: "America/Mexico_City" }),

"guess:by:abbr" : helpers.makeTestGuess("America/Managua", { abbr: true }),
"guess:by:abbr" : helpers.makeTestGuess("America/Managua", { abbr: true, expect: "America/Mexico_City" }),

"1890" : helpers.makeTestYear("America/Managua", [
["1890-01-01T05:45:07+00:00", "23:59:59", "LMT", 20708 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/america/mazatlan.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["America/Mazatlan"] = {

"guess:by:offset" : helpers.makeTestGuess("America/Mazatlan", { offset: true }),
"guess:by:offset" : helpers.makeTestGuess("America/Mazatlan", { offset: true, expect: "America/Phoenix" }),

"guess:by:abbr" : helpers.makeTestGuess("America/Mazatlan", { abbr: true }),
"guess:by:abbr" : helpers.makeTestGuess("America/Mazatlan", { abbr: true, expect: "America/Phoenix" }),

"1922" : helpers.makeTestYear("America/Mazatlan", [
["1922-01-01T06:59:59+00:00", "23:54:19", "LMT", 25540 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/america/ojinaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["America/Ojinaga"] = {

"guess:by:offset" : helpers.makeTestGuess("America/Ojinaga", { offset: true }),
"guess:by:offset" : helpers.makeTestGuess("America/Ojinaga", { offset: true, expect: "America/Chicago" }),

"guess:by:abbr" : helpers.makeTestGuess("America/Ojinaga", { abbr: true }),
"guess:by:abbr" : helpers.makeTestGuess("America/Ojinaga", { abbr: true, expect: "America/Chicago" }),

"1922" : helpers.makeTestYear("America/Ojinaga", [
["1922-01-01T06:59:59+00:00", "00:02:19", "LMT", 25060 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/america/regina.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["America/Regina"] = {

"guess:by:offset" : helpers.makeTestGuess("America/Regina", { offset: true, expect: "America/Managua" }),
"guess:by:offset" : helpers.makeTestGuess("America/Regina", { offset: true, expect: "America/Mexico_City" }),

"guess:by:abbr" : helpers.makeTestGuess("America/Regina", { abbr: true, expect: "America/Managua" }),
"guess:by:abbr" : helpers.makeTestGuess("America/Regina", { abbr: true, expect: "America/Mexico_City" }),

"1905" : helpers.makeTestYear("America/Regina", [
["1905-09-01T06:58:35+00:00", "23:59:59", "LMT", 25116 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/america/swift_current.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["America/Swift_Current"] = {

"guess:by:offset" : helpers.makeTestGuess("America/Swift_Current", { offset: true, expect: "America/Managua" }),
"guess:by:offset" : helpers.makeTestGuess("America/Swift_Current", { offset: true, expect: "America/Mexico_City" }),

"guess:by:abbr" : helpers.makeTestGuess("America/Swift_Current", { abbr: true, expect: "America/Managua" }),
"guess:by:abbr" : helpers.makeTestGuess("America/Swift_Current", { abbr: true, expect: "America/Mexico_City" }),

"1905" : helpers.makeTestYear("America/Swift_Current", [
["1905-09-01T07:11:19+00:00", "23:59:59", "LMT", 25880 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/america/tegucigalpa.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["America/Tegucigalpa"] = {

"guess:by:offset" : helpers.makeTestGuess("America/Tegucigalpa", { offset: true, expect: "America/Managua" }),
"guess:by:offset" : helpers.makeTestGuess("America/Tegucigalpa", { offset: true, expect: "America/Mexico_City" }),

"guess:by:abbr" : helpers.makeTestGuess("America/Tegucigalpa", { abbr: true, expect: "America/Managua" }),
"guess:by:abbr" : helpers.makeTestGuess("America/Tegucigalpa", { abbr: true, expect: "America/Mexico_City" }),

"1921" : helpers.makeTestYear("America/Tegucigalpa", [
["1921-04-01T05:48:51+00:00", "23:59:59", "LMT", 20932 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/asia/amman.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["Asia/Amman"] = {

"guess:by:offset" : helpers.makeTestGuess("Asia/Amman", { offset: true }),
"guess:by:offset" : helpers.makeTestGuess("Asia/Amman", { offset: true, expect: "Europe/Moscow" }),

"guess:by:abbr" : helpers.makeTestGuess("Asia/Amman", { abbr: true }),
"guess:by:abbr" : helpers.makeTestGuess("Asia/Amman", { abbr: true, expect: "Europe/Moscow" }),

"1930" : helpers.makeTestYear("Asia/Amman", [
["1930-12-31T21:36:15+00:00", "23:59:59", "LMT", -8624 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/asia/damascus.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["Asia/Damascus"] = {

"guess:by:offset" : helpers.makeTestGuess("Asia/Damascus", { offset: true }),
"guess:by:offset" : helpers.makeTestGuess("Asia/Damascus", { offset: true, expect: "Europe/Moscow" }),

"guess:by:abbr" : helpers.makeTestGuess("Asia/Damascus", { abbr: true }),
"guess:by:abbr" : helpers.makeTestGuess("Asia/Damascus", { abbr: true, expect: "Europe/Moscow" }),

"1919" : helpers.makeTestYear("Asia/Damascus", [
["1919-12-31T21:34:47+00:00", "23:59:59", "LMT", -8712 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/canada/saskatchewan.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["Canada/Saskatchewan"] = {

"guess:by:offset" : helpers.makeTestGuess("Canada/Saskatchewan", { offset: true, expect: "America/Managua" }),
"guess:by:offset" : helpers.makeTestGuess("Canada/Saskatchewan", { offset: true, expect: "America/Mexico_City" }),

"guess:by:abbr" : helpers.makeTestGuess("Canada/Saskatchewan", { abbr: true, expect: "America/Managua" }),
"guess:by:abbr" : helpers.makeTestGuess("Canada/Saskatchewan", { abbr: true, expect: "America/Mexico_City" }),

"1905" : helpers.makeTestYear("Canada/Saskatchewan", [
["1905-09-01T06:58:35+00:00", "23:59:59", "LMT", 25116 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/etc/gmt+6.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["Etc/GMT+6"] = {

"guess:by:offset" : helpers.makeTestGuess("Etc/GMT+6", { offset: true, expect: "America/Managua" }),
"guess:by:offset" : helpers.makeTestGuess("Etc/GMT+6", { offset: true, expect: "America/Mexico_City" }),

"guess:by:abbr" : helpers.makeTestGuess("Etc/GMT+6", { abbr: true, expect: "America/Managua" }),
"guess:by:abbr" : helpers.makeTestGuess("Etc/GMT+6", { abbr: true, expect: "America/Mexico_City" }),

"1970" : helpers.makeTestYear("Etc/GMT+6", [
["1970-01-01T00:00:00+00:00", "18:00:00", "-06", 360]
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/mexico/bajasur.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["Mexico/BajaSur"] = {

"guess:by:offset" : helpers.makeTestGuess("Mexico/BajaSur", { offset: true, expect: "America/Mazatlan" }),
"guess:by:offset" : helpers.makeTestGuess("Mexico/BajaSur", { offset: true, expect: "America/Phoenix" }),

"guess:by:abbr" : helpers.makeTestGuess("Mexico/BajaSur", { abbr: true, expect: "America/Mazatlan" }),
"guess:by:abbr" : helpers.makeTestGuess("Mexico/BajaSur", { abbr: true, expect: "America/Phoenix" }),

"1922" : helpers.makeTestYear("Mexico/BajaSur", [
["1922-01-01T06:59:59+00:00", "23:54:19", "LMT", 25540 / 60],
Expand Down
4 changes: 2 additions & 2 deletions tests/zones/pacific/galapagos.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var helpers = require("../../helpers/helpers");

exports["Pacific/Galapagos"] = {

"guess:by:offset" : helpers.makeTestGuess("Pacific/Galapagos", { offset: true, expect: "America/Managua" }),
"guess:by:offset" : helpers.makeTestGuess("Pacific/Galapagos", { offset: true, expect: "America/Mexico_City" }),

"guess:by:abbr" : helpers.makeTestGuess("Pacific/Galapagos", { abbr: true, expect: "America/Managua" }),
"guess:by:abbr" : helpers.makeTestGuess("Pacific/Galapagos", { abbr: true, expect: "America/Mexico_City" }),

"1931" : helpers.makeTestYear("Pacific/Galapagos", [
["1931-01-01T05:58:23+00:00", "23:59:59", "LMT", 21504 / 60],
Expand Down

0 comments on commit c666ad1

Please sign in to comment.