You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/service/CodeWhispererService.kt
Copy file name to clipboardExpand all lines: plugins/amazonq/codewhisperer/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/codewhisperer/CodeWhispererEditorUtilTest.kt
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,8 @@ class CodeWhispererEditorUtilTest {
87
87
88
88
@ParameterizedTest
89
89
@ValueSource(
90
-
strings = ["app.json",
90
+
strings = [
91
+
"app.json",
91
92
"appsettings.json",
92
93
"bower.json",
93
94
"composer.json",
@@ -107,7 +108,7 @@ class CodeWhispererEditorUtilTest {
107
108
108
109
@Test
109
110
fun`isConfigFileIfJsonFile should retrun false due to no match`() {
110
-
var result =CodeWhispererEditorUtil.isConfigFileIfJsonFile("foo.json", "",CodeWhispererJson.INSTANCE)
111
+
var result =CodeWhispererEditorUtil.isConfigFileIfJsonFile("foo.json", "",CodeWhispererJson.INSTANCE)
111
112
assertThat(result).isEqualTo(false)
112
113
113
114
result =CodeWhispererEditorUtil.isConfigFileIfJsonFile("package.json", "", CodeWhispererYaml.INSTANCE)
0 commit comments