Sign in
dart
/
sdk.git
/
refs/heads/base
/
.
/
tests
/
standalone
/
regress_52691_test.dart
blob: d11e8c966842e24a729513d8494955500e66c6f6 [
file
] [
log
] [
blame
] [
edit
]
import
'package:expect/expect.dart'
;
void
main
()
{
try
{
var
re
=
RegExp
(
r'[c-'
);
}
on FormatException
catch
(
e
,
s
)
{
Expect
.
equals
(
"FormatException: Unterminated character class [c-"
,
e
.
toString
());
}
}