Skip to content

Commit

Permalink
removing invalid test
Browse files Browse the repository at this point in the history
  • Loading branch information
marciocadev committed Mar 16, 2024
1 parent f1611e1 commit a437d2e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions examples/tests/sdk_tests/schedule/init.test.w
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,4 @@ if (util.env("WING_TARGET") != "sim") {
error = e;
}
assert(error == "cron string must be UNIX cron format [minute] [hour] [day of month] [month] [day of week]");


try {
new cloud.Schedule( cron: "* * * * *" ) as "s5";
} catch e {
error = e;
}
assert(error == "cannot use * in both the Day-of-month and Day-of-week fields. If you use it in one, you must use ? in the other");
}

0 comments on commit a437d2e

Please sign in to comment.