diff --git a/packages/oss-console/src/components/Literals/helpers.ts b/packages/oss-console/src/components/Literals/helpers.ts index 435d67bea..12b7f6ba0 100644 --- a/packages/oss-console/src/components/Literals/helpers.ts +++ b/packages/oss-console/src/components/Literals/helpers.ts @@ -96,7 +96,7 @@ function processBinary(binary?: Core.IBinary | null) { return { tag: `${tag}`, - value: "(binary data now shown)", + value: "(binary data not shown)", }; } diff --git a/packages/oss-console/src/components/Literals/test/helpers/genScalarBinaryTestCase.mock.ts b/packages/oss-console/src/components/Literals/test/helpers/genScalarBinaryTestCase.mock.ts index 6131f007c..a40470242 100644 --- a/packages/oss-console/src/components/Literals/test/helpers/genScalarBinaryTestCase.mock.ts +++ b/packages/oss-console/src/components/Literals/test/helpers/genScalarBinaryTestCase.mock.ts @@ -15,12 +15,12 @@ const scalarBinaryTestCases: TestCaseList = { }, WITH_VAL: { value: { value: new Uint8Array(), tag: 'tag1' }, - expected: { result_var: { tag: 'tag1', value: '(binary data now shown)' } }, + expected: { result_var: { tag: 'tag1', value: '(binary data not shown)' } }, }, EMPTY_VALUE: { value: { tag: 'msgpack' }, - expected: { result_var: { tag: 'msgpack', value: "(empty)" } }, - } + expected: { result_var: { tag: 'msgpack', value: '(empty)' } }, + }, }; export default scalarBinaryTestCases;