diff --git a/assertj-swing-junit-examples/src/main/scripts/copy-junit-examples-to-testng-examples.sh b/assertj-swing-junit-examples/src/main/scripts/copy-junit-examples-to-testng-examples.sh index 568bed1..80aa207 100755 --- a/assertj-swing-junit-examples/src/main/scripts/copy-junit-examples-to-testng-examples.sh +++ b/assertj-swing-junit-examples/src/main/scripts/copy-junit-examples-to-testng-examples.sh @@ -20,4 +20,5 @@ do # the annotations perl -i -p -e 'undef $/; s/\@After([^C])/\@AfterMethod\1/g' "${example}" perl -i -p -e 'undef $/; s/\@Before([^C])/\@BeforeMethod\1/g' "${example}" + perl -i -p -e 'undef $/; s/\@Test\(expected/\@Test(expectedExceptions/g' "${example}" done