diff --git a/content/unit-testing/exercises/_index.md b/content/unit-testing/exercises/_index.md index 5e415ff..0a25ea1 100644 --- a/content/unit-testing/exercises/_index.md +++ b/content/unit-testing/exercises/_index.md @@ -78,7 +78,7 @@ to our car that exceeds the gas tank size. //TODO: can't have more gas than tank size, expect an exception @Test() public void testGasOverfillException() { - assertthrows(IllegalArgumentException.class, () -> ); + assertThrows(IllegalArgumentException.class, () -> ); } ``` @@ -125,4 +125,4 @@ public void testGasOverfillException() { } ``` -{{% /expand %}} \ No newline at end of file +{{% /expand %}}