assert statement: description should be of string type (IDEA-58067)

This commit is contained in:
anna
2010-08-27 20:16:04 +04:00
parent 307fe87d03
commit db9fc5a09b
3 changed files with 26 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
// "Create Method 'f'" "true"
class A {
{
assert false: f();
}
private String f() {
<selection>return null; //To change body of created methods use File | Settings | File Templates.</selection>
}
}

View File

@@ -0,0 +1,6 @@
// "Create Method 'f'" "true"
class A {
{
assert false: f<caret>();
}
}