Skip to content

Commit 9350f89

Browse files
Gaurav Gandhigandhi-21
authored andcommitted
fix(amazonq): update logic for converting gitignore pattern to regex
1 parent db14fc8 commit 9350f89

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

plugins/amazonq/chat/jetbrains-community/tst/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/FeatureDevSessionContextTest.kt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,19 @@ class FeatureDevSessionContextTest : FeatureDevTestBase(HeavyJavaCodeInsightTest
190190
}
191191
}
192192

193-
val expectedFilesToMatch = listOf(".gitignore/", ".env/", "file.txt/", ".git/config/", "src/file.txt/", "build/", "build/output.jar/", "log.txt/", "file.png/", "src/file.png/")
193+
val expectedFilesToMatch =
194+
listOf(
195+
".gitignore/",
196+
".env/",
197+
"file.txt/",
198+
".git/config/",
199+
"src/file.txt/",
200+
"build/",
201+
"build/output.jar/",
202+
"log.txt/",
203+
"file.png/",
204+
"src/file.png/"
205+
)
194206

195207
assertEquals(expectedFilesToMatch, matchedFiles)
196208
}

0 commit comments

Comments
 (0)