Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,6 @@ describe('runtimeLanguageContext', function () {
]

for (const [inputCwsprLanguageId, expectedCwsprLanguageId] of codewhispererLanguageIds) {
if (inputCwsprLanguageId === 'systemVerilog') {
console.log()
}
Comment on lines -214 to -216
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

think it's dev purpose added in #5663

it(`should return ${expectedCwsprLanguageId} if input codewhispererLanguageId is - ${inputCwsprLanguageId}`, function () {
const actual = languageContext.toRuntimeLanguage(inputCwsprLanguageId)
assert.strictEqual(actual, expectedCwsprLanguageId)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,17 @@ const runtimeLanguageSet: ReadonlySet<RuntimeLanguage> = new Set([
'kotlin',
'php',
'python',
'powershell',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verified, equal to jb
const val ID = "powershell"

'r',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verified, equal to jb
const val ID = "r"

'dart',
Copy link
Contributor Author

@Will-ShaoHua Will-ShaoHua Oct 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verified, equal to jb
const val ID = "dart"

'ruby',
'rust',
'scala',
'shell',
'sql',
'swift',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const val ID = "swift"

'lua',
Copy link
Contributor Author

@Will-ShaoHua Will-ShaoHua Oct 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verified, equal to jb
const val ID = "lua"

'vue',
Copy link
Contributor Author

@Will-ShaoHua Will-ShaoHua Oct 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verified, equal to jb
const val ID = "vue"

'typescript',
'json',
'yaml',
Expand Down
Loading