Skip to content

Commit

Permalink
test: update expected values according to the new version of spoon
Browse files Browse the repository at this point in the history
  • Loading branch information
danglotb committed Mar 5, 2020
1 parent 81bd760 commit f098a69
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ public void testContext2Name() {
" String mess = \"mess-print\";" + AmplificationHelper.LINE_SEPARATOR +
" System.out.print(mess);" + AmplificationHelper.LINE_SEPARATOR +
" String local = \"local\" + id;" + AmplificationHelper.LINE_SEPARATOR +
" System.out.print(((this.global) + local));" + AmplificationHelper.LINE_SEPARATOR +
" System.out.print(global + local);" + AmplificationHelper.LINE_SEPARATOR +
"}", methodListBeforeC2N.get(0).toString());
assertEquals("private void mess(int name) {" + AmplificationHelper.LINE_SEPARATOR +
" String mess = \"mess-print\";" + AmplificationHelper.LINE_SEPARATOR +
" System.out.print(mess);" + AmplificationHelper.LINE_SEPARATOR +
" String ex = \"local\" + name;" + AmplificationHelper.LINE_SEPARATOR +
" System.out.print(((this.global) + ex));" + AmplificationHelper.LINE_SEPARATOR +
" System.out.print(global + ex);" + AmplificationHelper.LINE_SEPARATOR +
"}", methodListAfterC2N.get(0).toString());

// the second method AKA "test"
Expand Down

0 comments on commit f098a69

Please sign in to comment.