Skip to content

Commit cfd92d2

Browse files
committed
Remove unnecessary whitespaces in CallStatCompletionTest
1 parent ecdecb4 commit cfd92d2

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

ide-plugin/src/test/java/CallStatCompletionTest.kt

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import com.intellij.execution.ExecutionException
32
import com.intellij.openapi.diagnostic.Logger
43
import com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase
@@ -37,15 +36,15 @@ class CallStatCompletionTest : LightPlatformCodeInsightFixtureTestCase() {
3736
super.tearDown()
3837
}
3938
}
40-
39+
4140
fun testSimpleCallInfoCollection() {
4241
val callInfos = runAndGetCallInfos("simple_call_info_collection_test.rb",
4342
createMethodInfo("AClass", "foo"))
4443
assertEquals(1, callInfos.size)
4544
assertTrue(allCallInfosHaveNumberOfUnnamedArguments(callInfos, 1))
4645
assertCallInfosContainsUnique(callInfos, listOf("String"), "Symbol")
4746
}
48-
47+
4948
fun testSimpleCallInfosCollectionMultipleFunctions() {
5049
executeScript("simple_call_info_collection_test_multiple_functions_test.rb")
5150
waitForServer()
@@ -63,7 +62,7 @@ class CallStatCompletionTest : LightPlatformCodeInsightFixtureTestCase() {
6362
assertCallInfosContainsUnique(barCallInfos, listOf("FalseClass"), "FalseClass")
6463
assertCallInfosContainsUnique(barCallInfos, listOf("Symbol"), "A")
6564
}
66-
65+
6766
fun testSimpleCallInfosCollectionWithMultipleArguments() {
6867
val callInfos = runAndGetCallInfos("simple_call_info_collection_with_multiple_arguments_test.rb",
6968
createMethodInfo("AClass", "foo"))
@@ -72,7 +71,7 @@ class CallStatCompletionTest : LightPlatformCodeInsightFixtureTestCase() {
7271
assertTrue(allCallInfosHaveNumberOfUnnamedArguments(callInfos, 2))
7372
assertCallInfosContainsUnique(callInfos, listOf("String", "TrueClass"), "Regexp")
7473
}
75-
74+
7675
fun testSaveTypesBetweenLaunches() {
7776
var callInfos = runAndGetCallInfos("save_types_between_launches_test_part_1.rb",
7877
createMethodInfo("A", "foo"))
@@ -92,7 +91,7 @@ class CallStatCompletionTest : LightPlatformCodeInsightFixtureTestCase() {
9291
assertCallInfosContainsUnique(callInfos, listOf("TrueClass"), "FalseClass")
9392
assertCallInfosContainsUnique(callInfos, listOf("String"), "Regexp")
9493
}
95-
94+
9695
fun testForgetCallInfoWhenArgumentsNumberChanged() {
9796
var callInfos = runAndGetCallInfos("forget_call_info_when_arguments_number_changed_test_part_1.rb",
9897
createMethodInfo("A", "foo"))
@@ -114,7 +113,7 @@ class CallStatCompletionTest : LightPlatformCodeInsightFixtureTestCase() {
114113
assertTrue(allCallInfosHaveNumberOfUnnamedArguments(callInfos, 1))
115114
assertCallInfosContainsUnique(callInfos, listOf("M::A"), "M::A")
116115
}
117-
116+
118117
fun testTopLevelMethodsCallInfoCollection() {
119118
val callInfos = runAndGetCallInfos("top_level_methods_call_info_collection_test.rb",
120119
createMethodInfo("Object", "foo"))
@@ -125,7 +124,7 @@ class CallStatCompletionTest : LightPlatformCodeInsightFixtureTestCase() {
125124
assertCallInfosContainsUnique(callInfos, listOf("String", "TrueClass"), "Regexp")
126125
assertCallInfosContainsUnique(callInfos, listOf("String", "TrueClass"), "String")
127126
}
128-
127+
129128
fun testDuplicatesInCallInfoTable() {
130129
val callInfos = runAndGetCallInfos("duplicates_in_callinfo_table_test.rb",
131130
createMethodInfo("Object", "foo"))
@@ -135,7 +134,7 @@ class CallStatCompletionTest : LightPlatformCodeInsightFixtureTestCase() {
135134
assertCallInfosContainsUnique(callInfos, listOf("String"), "FalseClass")
136135
assertCallInfosContainsUnique(callInfos, listOf("FalseClass"), "FalseClass")
137136
}
138-
137+
139138
fun testMethodWithoutParameters() {
140139
val callInfos = runAndGetCallInfos("method_without_parameters_test.rb",
141140
createMethodInfo("Object", "foo"))
@@ -268,7 +267,7 @@ class CallStatCompletionTest : LightPlatformCodeInsightFixtureTestCase() {
268267

269268
}
270269
}
271-
270+
272271
private fun runAndGetCallInfos(executableScriptName: String,
273272
methodInfo: MethodInfo): List<CallInfo> {
274273
executeScript(executableScriptName)

0 commit comments

Comments
 (0)