From 2a2ac6abb18559c5620de884f044ecea2246091b Mon Sep 17 00:00:00 2001 From: Varg Date: Wed, 27 Nov 2024 04:04:36 +0100 Subject: [PATCH] Update RGB arguments --- tests/code.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/code.test.ts b/tests/code.test.ts index 3f233fd..07cfc5e 100644 --- a/tests/code.test.ts +++ b/tests/code.test.ts @@ -73,8 +73,8 @@ end }); test('function argument gets converted to number', () => { - runTestFile(api, ` x = rgb('123', '231', 321) `); - expect(api.readVariable('x')).toBe(-6277); + runTestFile(api, ` x = rgb('12', '234', 32) `); + expect(api.readVariable('x')).toBe(-14620148); }); test('function argument cant be converted to number', () => {