mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-13 20:08:29 +01:00
Clang warns about string+int not appending to the string (to try and catch newbie mistakes). While this test didn’t expect that to happen, it was substituting the same constant string in multiple places for no good reason. Switch to a single static const string, which should also fix the compiler warning. We have to define the string length since it’s used in various stack-allocated array lengths. This is the easiest fix without more major refactoring of the test to be less 90s. Also make things a bit more static. Signed-off-by: Philip Withnall <withnall@endlessm.com>
25 KiB
25 KiB