aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/test')
-rw-r--r--framework/src/test/java/org/onap/cli/cmd/sample/OnapCommandSample.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/src/test/java/org/onap/cli/cmd/sample/OnapCommandSample.java b/framework/src/test/java/org/onap/cli/cmd/sample/OnapCommandSample.java
index b225a3a0..eef0ebc4 100644
--- a/framework/src/test/java/org/onap/cli/cmd/sample/OnapCommandSample.java
+++ b/framework/src/test/java/org/onap/cli/cmd/sample/OnapCommandSample.java
@@ -40,8 +40,9 @@ public class OnapCommandSample extends OnapCommand {
@Override
protected void run() throws OnapCommandException {
- if (this.failCase)
+ if (this.failCase) {
throw new OnapCommandExecutionFailed("Test case to fail");
+ }
}
}