forked from ThePrimeagen/refactoring.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
127 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lua/refactoring/tests/debug/printf/c/multiple-statements/printf.expected.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
int main (int argc, char *argv[]) | ||
{ | ||
printf("debug path main"); // __AUTO_GENERATED_PRINTF__ | ||
printf("debug path main 1"); // __AUTO_GENERATED_PRINTF__ | ||
return 0; | ||
} |
2 changes: 1 addition & 1 deletion
2
lua/refactoring/tests/debug/printf/c/simple-function/printf.expected.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
int main() { | ||
return 0; | ||
printf("main(%d): \n", __LINE__); // __AUTO_GENERATED_PRINTF__ | ||
printf("main 1(%d): \n", __LINE__); // __AUTO_GENERATED_PRINTF__ | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lua/refactoring/tests/debug/printf/cpp/multiple-statements/printf.expected.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
int main (int argc, char *argv[]) | ||
{ | ||
printf("debug path main"); // __AUTO_GENERATED_PRINTF__ | ||
printf("debug path main 1"); // __AUTO_GENERATED_PRINTF__ | ||
return 0; | ||
} |
2 changes: 1 addition & 1 deletion
2
lua/refactoring/tests/debug/printf/cpp/simple-function/printf.expected.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
int main() { | ||
return 0; | ||
printf("main(%d): \n", __LINE__); // __AUTO_GENERATED_PRINTF__ | ||
printf("main 1(%d): \n", __LINE__); // __AUTO_GENERATED_PRINTF__ | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lua/refactoring/tests/debug/printf/java/multiple-statements/printf.expected.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
class Printf { | ||
public static void main(String[] args) { | ||
System.out.println("test"); | ||
System.out.println("debug path Printf#main"); // __AUTO_GENERATED_PRINTF__ | ||
System.out.println("debug path Printf#main 1"); // __AUTO_GENERATED_PRINTF__ | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
lua/refactoring/tests/debug/printf/js/multiple-statements/printf.expected.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
function main() { | ||
console.log("debug path main"); // __AUTO_GENERATED_PRINTF__ | ||
console.log("debug path main 1"); // __AUTO_GENERATED_PRINTF__ | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lua/refactoring/tests/debug/printf/lua/multiple-statements/printf.expected.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
local hello = function () | ||
print("test") | ||
print("debug path function"); -- __AUTO_GENERATED_PRINTF__ | ||
print("debug path function 1"); -- __AUTO_GENERATED_PRINTF__ | ||
end |
3 changes: 2 additions & 1 deletion
3
lua/refactoring/tests/debug/printf/lua/multiple-statements/printf.start.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
local hello = function () | ||
local hello = function() | ||
print("test") | ||
print("function 1") -- __AUTO_GENERATED_PRINTF__ | ||
end |
2 changes: 1 addition & 1 deletion
2
lua/refactoring/tests/debug/printf/lua/simple/printf.expected.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
local function poggers() | ||
print("this function is quite simple indeed") | ||
print("poggers") -- __AUTO_GENERATED_PRINTF__ | ||
print("poggers 1") -- __AUTO_GENERATED_PRINTF__ | ||
end |
2 changes: 1 addition & 1 deletion
2
lua/refactoring/tests/debug/printf/php/multiple-statements/printf.expected.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
function testFunction() { | ||
printf("debug path testFunction"); // __AUTO_GENERATED_PRINTF__ | ||
printf("debug path testFunction 1"); // __AUTO_GENERATED_PRINTF__ | ||
} | ||
?> |
2 changes: 1 addition & 1 deletion
2
lua/refactoring/tests/debug/printf/php/simple-function/printf.expected.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?php | ||
function testFunction() { | ||
printf("testFunction\n"); // __AUTO_GENERATED_PRINTF__ | ||
printf("testFunction 1\n"); // __AUTO_GENERATED_PRINTF__ | ||
} | ||
?> |
2 changes: 1 addition & 1 deletion
2
lua/refactoring/tests/debug/printf/py/multiple-statements/printf.expected.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
def main(): | ||
print("debug path main") # __AUTO_GENERATED_PRINTF__ | ||
print("debug path main 1") # __AUTO_GENERATED_PRINTF__ | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lua/refactoring/tests/debug/printf/rb/complex-function/printf.expected.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lua/refactoring/tests/debug/printf/rb/multiple-statements/printf.expected.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
def main | ||
puts "debug path main" # __AUTO_GENERATED_PRINTF__ | ||
puts "debug path main 1" # __AUTO_GENERATED_PRINTF__ | ||
pass | ||
end |
2 changes: 1 addition & 1 deletion
2
lua/refactoring/tests/debug/printf/rb/simple-function/printf.expected.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lua/refactoring/tests/debug/printf/ts/multiple-statements/printf.expected.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
function main() { | ||
console.log("debug path main"); // __AUTO_GENERATED_PRINTF__ | ||
console.log("debug path main 1"); // __AUTO_GENERATED_PRINTF__ | ||
return 0; | ||
} |
Oops, something went wrong.