From 41af8ee2e25eb72d8c309f264e4041a2325aa714 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 13 Sep 2023 19:29:27 +0200 Subject: [PATCH] testsuite: Add another test his is the opposite of the test in 1502c21e9767dd6a1888937cd284fa3f7d66b376. Also change the numbers in that test so it doesn't need a ref file. Related: #6075 --- testsuite/gsk/meson.build | 2 +- testsuite/gsk/nodeparser/text-color.node | 2 +- .../gsk/nodeparser/{text-color.ref.node => text-no-color.node} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename testsuite/gsk/nodeparser/{text-color.ref.node => text-no-color.node} (59%) diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index 0fb90e7d50..b427c2c3cf 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -332,10 +332,10 @@ node_parser_tests = [ 'stroke.ref.node', 'testswitch.node', 'text-color.node', - 'text-color.ref.node', 'text-fail.node', 'text-fail.ref.node', 'text-fail.errors', + 'text-no-color.node', 'texture-fail.node', 'texture-fail.ref.node', 'texture-fail.ref.errors', diff --git a/testsuite/gsk/nodeparser/text-color.node b/testsuite/gsk/nodeparser/text-color.node index 8c0786bbab..b3d46c0fa5 100644 --- a/testsuite/gsk/nodeparser/text-color.node +++ b/testsuite/gsk/nodeparser/text-color.node @@ -1,5 +1,5 @@ text { color: rgba(255,0,0,0.533333); font: "Noto Sans 300"; - glyphs: 50 312, 2712 0 -156 -28.7891 color; + glyphs: 50 312, 2712 0 -156 -29 color; } diff --git a/testsuite/gsk/nodeparser/text-color.ref.node b/testsuite/gsk/nodeparser/text-no-color.node similarity index 59% rename from testsuite/gsk/nodeparser/text-color.ref.node rename to testsuite/gsk/nodeparser/text-no-color.node index 8c0786bbab..fb9832e975 100644 --- a/testsuite/gsk/nodeparser/text-color.ref.node +++ b/testsuite/gsk/nodeparser/text-no-color.node @@ -1,5 +1,5 @@ text { color: rgba(255,0,0,0.533333); font: "Noto Sans 300"; - glyphs: 50 312, 2712 0 -156 -28.7891 color; + glyphs: 50 312, 2712 0 -156 -29; }