test(processor): line-comment, string-protection, structure cases
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
package main
|
||||
|
||||
func main() { println("hi") }
|
||||
@@ -0,0 +1,3 @@
|
||||
package main
|
||||
|
||||
func main() { println("hi") }
|
||||
+1
@@ -0,0 +1 @@
|
||||
const s = "a\"b"; // c
|
||||
@@ -0,0 +1 @@
|
||||
const s = "a\"b";
|
||||
@@ -0,0 +1,2 @@
|
||||
const u = "http://example.com"; // real
|
||||
console.log("/* not */");
|
||||
@@ -0,0 +1,2 @@
|
||||
const u = "http://example.com";
|
||||
console.log("/* not */");
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
local s = "-- not"
|
||||
x = 1 -- real
|
||||
@@ -0,0 +1,2 @@
|
||||
local s = "-- not"
|
||||
x = 1
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
x = 1
|
||||
|
||||
# gone
|
||||
|
||||
y = 2
|
||||
@@ -0,0 +1,4 @@
|
||||
x = 1
|
||||
|
||||
|
||||
y = 2
|
||||
Reference in New Issue
Block a user