Groovy: fix inline in GString, replaceWithExpression
[fedora-idea.git] / plugins / groovy / testdata / groovy / refactoring / inlineMethod / inlineInGString.test
blob4c498686ceb69e5734abb3f3e99426394eb9b9b7
1 def foo(int x) {
2   return "foo(x = $x)";
5 print "foo(2) = ${<begin>foo<end>(2)}";
6 -----
7 def foo(int x) {
8   return "foo(x = $x)";
11 print "foo(2) = foo(x = 2)";