23 lines
719 B
Go
23 lines
719 B
Go
// Code generated by convertFourslash; DO NOT EDIT.
|
|
// To modify this test, run "npm run makemanual codeFixUseBigIntLiteralWithNumericSeparators"
|
|
|
|
package fourslash_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/microsoft/typescript-go/internal/fourslash"
|
|
"github.com/microsoft/typescript-go/internal/testutil"
|
|
)
|
|
|
|
func TestCodeFixUseBigIntLiteralWithNumericSeparators(t *testing.T) {
|
|
fourslash.SkipIfFailing(t)
|
|
t.Parallel()
|
|
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
|
const content = `6_402_373_705_728_000; // 18! < 2 ** 53
|
|
0x16_BE_EC_CA_73_00_00; // 18! < 2 ** 53`
|
|
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
|
defer done()
|
|
f.VerifyCodeFixNotAvailable(t, "useBigintLiteral")
|
|
}
|