support shorthand key-symbol output (#4768)

This commit is contained in:
Alex Lam S.L
2021-03-13 07:37:01 +00:00
committed by GitHub
parent 6f3ab09319
commit 241113200e
3 changed files with 36 additions and 26 deletions

View File

@@ -23,7 +23,7 @@ keys_only: {
input: {
import { as as foo, bar, delete as baz } from "moo";
}
expect_exact: 'import{as as foo,bar as bar,delete as baz}from"moo";'
expect_exact: 'import{as as foo,bar,delete as baz}from"moo";'
}
default_all: {
@@ -37,7 +37,7 @@ default_keys: {
input: {
import foo, { bar } from "baz";
}
expect_exact: 'import foo,{bar as bar}from"baz";'
expect_exact: 'import foo,{bar}from"baz";'
}
dynamic: {