Skip to content

Commit

Permalink
Add input files
Browse files Browse the repository at this point in the history
  • Loading branch information
bdovaz committed Jan 28, 2023
1 parent fa90fd8 commit 7f1994d
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .automation/test/json/json_fix_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"arrow_spacing":{
"level": "ignore"
},
"braces_spacing": {
"level": "ignore",
"spaces": 0,
"empty_object_spaces": 0
}
}
18 changes: 18 additions & 0 deletions .automation/test/jsx/jsx_fix_1.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/* eslint capitalized-comments: ["error"] */
//a

/*eslint no-else-return: "error"*/

function foo() {
var x = true
var y = 0
var z = 0

if (x) {
return y;
} else {
return z;
}
}

foo()
12 changes: 12 additions & 0 deletions .automation/test/kotlin/Kotlinfix1.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
internal abstract class A{
protected open val v = ""
internal open suspend fun f(v: Any): Any = ""
public lateinit var lv: String
abstract tailrec fun findFixPoint(x: Double = 1.0): Double
}

class B : A() {
public override val v = ""
override suspend fun f(v: Any): Any = ""
override tailrec fun findFixPoint(x: Double): Double = if (x == Math.cos(x)) x else findFixPoint(Math.cos(x))
}

0 comments on commit 7f1994d

Please sign in to comment.