Skip to content

Commit

Permalink
Make test pass
Browse files Browse the repository at this point in the history
  • Loading branch information
ire4ever1190 committed Dec 16, 2023
1 parent 235a1d3 commit 93d01a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testCommands.nim
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ proc onReady(s: Shard, r: Ready) {.event(discord).} =

test "ISSUE: Invalid channel response msg is greater than 2000 characters":
# Somehow the error message for this is 2257 characters long
# I shouldn't be anywhere near that
# It shouldn't be anywhere near that
# Resolved, turns out async adds the stacktrace to the msg
expect RestError: # Don't expect an Assert error
expect RestError, DiscordHttpError: # Don't expect an Assert error
sendMsg("chan <#1234>")

test "Custom type parsing":
Expand Down

0 comments on commit 93d01a9

Please sign in to comment.