mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-13 09:23:13 +02:00
gtestutils: Use TAP 14 syntax by default
The issue of meson 60 have been resolved for some time now, so we can just use newer TAP syntax safely. Revert "gtestutils: Use TAP 13 comments syntax for subtests" This reverts commit e8725407bcd35c1fa8fed92250edf080d5542b3c. Closes: #2885
This commit is contained in:
parent
474dbd91f7
commit
05d81f03f6
@ -65,10 +65,8 @@
|
|||||||
#include "glib-private.h"
|
#include "glib-private.h"
|
||||||
#include "gutilsprivate.h"
|
#include "gutilsprivate.h"
|
||||||
|
|
||||||
#define TAP_VERSION G_STRINGIFY (13)
|
#define TAP_VERSION G_STRINGIFY (14)
|
||||||
/* FIXME: Remove '#' prefix when we'll depend on a meson version supporting TAP 14
|
#define TAP_SUBTEST_PREFIX " " /* a 4-space indented line */
|
||||||
* See https://gitlab.gnome.org/GNOME/glib/-/issues/2885 */
|
|
||||||
#define TAP_SUBTEST_PREFIX "# " /* a 4-space indented line */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* g_test_initialized:
|
* g_test_initialized:
|
||||||
|
@ -35,8 +35,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#define TAP_VERSION G_STRINGIFY (13)
|
#define TAP_VERSION G_STRINGIFY (14)
|
||||||
#define TAP_SUBTEST_PREFIX "# "
|
#define TAP_SUBTEST_PREFIX " "
|
||||||
|
|
||||||
/* test assertion variants */
|
/* test assertion variants */
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user