Skip to content

Commit 3a0f796

Browse files
committed
test(Color): fix test
1 parent 1a3f3b7 commit 3a0f796

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/github-theme/color_spec.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,8 @@ describe('Color', function()
132132
end)
133133

134134
it('should be idempotent', function()
135-
local orig = Color(ex.rgba)
136-
orig.alpha = 0.5
135+
local orig = Color(0x12345630)
137136
local new = Color(orig --[[@as any]])
138-
139137
for _, c in ipairs({ orig, new }) do
140138
for _, k in ipairs({ 'WHITE', 'BLACK', 'BG' }) do
141139
rawset(c, k, c[k])

0 commit comments

Comments
 (0)