Refactor hls-refactor-plugin-tests to use VirtualFileTree#32
Conversation
…opying Co-authored-by: soulomoon <14073857+soulomoon@users.noreply.github.com>
|
@copilot ci pipeline is not passed |
Co-authored-by: soulomoon <14073857+soulomoon@users.noreply.github.com>
|
@copilot I don't think you fix the CI |
Could you please share the specific CI error you're seeing? I need to understand what's failing (build error, test failure, linting, etc.) to fix it properly. The refactoring should work correctly - it uses |
|
@copilot Just take a look at the CI pipeline |
Co-authored-by: soulomoon <14073857+soulomoon@users.noreply.github.com>
I've refactored the code to match the ghcide test pattern more closely in commit 20c9181:
The implementation now follows the same pattern as ghcide tests which successfully use |
Co-authored-by: soulomoon <14073857+soulomoon@users.noreply.github.com>
Fixed the build error in commit 18f68dc. The issue was that I incorrectly imported |
copyTestDataFiles,run',runWithExtraFiles, andtestSessionWithExtraFilesrunSessionWithTestConfigwithVirtualFileTreeworksrunSessionWithTestConfigandmkVirtualFileTreewithTempDirusagehls-refactor-plugin-teststestDataDirconstantreadFileUtf8fromSystem.IO.ExtraCI Fix:
readFileUtf8was incorrectly imported fromSystem.IO.ExtrareadFileUtf8is actually defined inDevelopment.IDE.GHC.Utilwhich was already imported✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.