2015-05-05 11:20:13 -07:00
|
|
|
|
//: assertions/Assert1.java
|
2015-05-29 14:18:51 -07:00
|
|
|
|
// <20>2015 MindView LLC: see Copyright.txt
|
2015-05-05 11:20:13 -07:00
|
|
|
|
// Non-informative style of assert
|
|
|
|
|
// {JVMArgs: -ea} // Must run with -ea
|
|
|
|
|
// {ThrowsException}
|
|
|
|
|
|
|
|
|
|
public class Assert1 {
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
assert false;
|
|
|
|
|
}
|
|
|
|
|
} ///:~
|