fix test for new behavior
This commit is contained in:
parent
de4e207d85
commit
057b3ede53
1 changed files with 2 additions and 3 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue