fix test for new behavior

This commit is contained in:
mierenmanz 2021-04-29 12:43:21 +02:00
parent de4e207d85
commit 057b3ede53
1 changed files with 2 additions and 3 deletions

View File

@ -1,10 +1,9 @@
import { parseArgs, Args } from '../src/utils/command.ts' import { Args, parseArgs } from '../src/utils/command.ts'
import { import {
assertEquals, assertEquals,
assertNotEquals assertNotEquals
} from 'https://deno.land/std@0.95.0/testing/asserts.ts' } from 'https://deno.land/std@0.95.0/testing/asserts.ts'
// debugger
const commandArgs: Args[] = [ const commandArgs: Args[] = [
{ {
name: 'originalMessage', name: 'originalMessage',
@ -18,7 +17,7 @@ const commandArgs: Args[] = [
}, },
{ {
name: 'user', name: 'user',
match: 'mention' match: 'mentionUser'
}, },
{ {
name: 'reason', name: 'reason',