diff --git a/RefactorTest/Rename.cpp b/RefactorTest/Rename.cpp index d5a83e9..3f049dc 100644 --- a/RefactorTest/Rename.cpp +++ b/RefactorTest/Rename.cpp @@ -13,7 +13,7 @@ #define MACRO_NO_ARGS 3.14159f // #TEST#: R2 Rename the macro argument x_ from declaration -// #TEST#: R3 Rename the macro argument x_ from usage +// #TEST#: R3 =R2 Rename the macro argument x_ from usage // #TEST#: R4 Rename this macro #define MACRO_ONE_ARG(x_) (2.0f * x_) diff --git a/results/diffs/R1.txt b/results/diffs/R1.txt index d66b517..0d0abd0 100644 --- a/results/diffs/R1.txt +++ b/results/diffs/R1.txt @@ -10,7 +10,7 @@ index d1c1283..dd356e8 100644 +#define GOINK 3.14159f // #TEST#: R2 Rename the macro argument x_ from declaration - // #TEST#: R3 Rename the macro argument x_ from usage + // #TEST#: R3 =R2 Rename the macro argument x_ from usage @@ -645,7 +645,7 @@ void TestRename() // #TEST#: R205 rename the variable Y::x int y = test2.Operation() + X::x + X::y + Y::x; diff --git a/results/diffs/R2.txt b/results/diffs/R2.txt index 9ae1bf5..7ced6ad 100644 --- a/results/diffs/R2.txt +++ b/results/diffs/R2.txt @@ -4,7 +4,7 @@ index d1c1283..3e43246 100644 +++ b/RefactorTest/Rename.cpp @@ -15,7 +15,7 @@ // #TEST#: R2 Rename the macro argument x_ from declaration - // #TEST#: R3 Rename the macro argument x_ from usage + // #TEST#: R3 =R2 Rename the macro argument x_ from usage // #TEST#: R4 Rename this macro -#define MACRO_ONE_ARG(x_) (2.0f * x_) +#define MACRO_ONE_ARG(goink_) (2.0f * goink_) diff --git a/results/diffs/R3.txt b/results/diffs/R3.txt index 9ae1bf5..7ced6ad 100644 --- a/results/diffs/R3.txt +++ b/results/diffs/R3.txt @@ -4,7 +4,7 @@ index d1c1283..3e43246 100644 +++ b/RefactorTest/Rename.cpp @@ -15,7 +15,7 @@ // #TEST#: R2 Rename the macro argument x_ from declaration - // #TEST#: R3 Rename the macro argument x_ from usage + // #TEST#: R3 =R2 Rename the macro argument x_ from usage // #TEST#: R4 Rename this macro -#define MACRO_ONE_ARG(x_) (2.0f * x_) +#define MACRO_ONE_ARG(goink_) (2.0f * goink_) diff --git a/results/diffs/R4.txt b/results/diffs/R4.txt index e0f903f..2b8f7b9 100644 --- a/results/diffs/R4.txt +++ b/results/diffs/R4.txt @@ -4,7 +4,7 @@ index d1c1283..8628cb4 100644 +++ b/RefactorTest/Rename.cpp @@ -15,7 +15,7 @@ // #TEST#: R2 Rename the macro argument x_ from declaration - // #TEST#: R3 Rename the macro argument x_ from usage + // #TEST#: R3 =R2 Rename the macro argument x_ from usage // #TEST#: R4 Rename this macro -#define MACRO_ONE_ARG(x_) (2.0f * x_) +#define GOINK(x_) (2.0f * x_)