From b940bc7cc338422982520b9465acbd2a5b53803b Mon Sep 17 00:00:00 2001 From: mulahasanovic Date: Wed, 26 Feb 2025 15:36:43 +0100 Subject: [PATCH] fix(tests): special character case --- sasjs-tests/src/testSuites/SpecialCases.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sasjs-tests/src/testSuites/SpecialCases.ts b/sasjs-tests/src/testSuites/SpecialCases.ts index 0494a3e..bba4f85 100644 --- a/sasjs-tests/src/testSuites/SpecialCases.ts +++ b/sasjs-tests/src/testSuites/SpecialCases.ts @@ -134,6 +134,9 @@ export const specialCaseTests = (adapter: SASjs): TestSuite => ({ return adapter.request('common/sendArr', moreSpecialCharData) }, assertion: (res: any) => { + // If sas session is latin9 we can't process the special characters + if (res.SYSENCODING === 'latin9') return true + return ( res.table1[0][0] === moreSpecialCharData.table1[0].speech0 && res.table1[0][1] === moreSpecialCharData.table1[0].pct &&