mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 16:32:18 +01: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:
		| @@ -65,10 +65,8 @@ | ||||
| #include "glib-private.h" | ||||
| #include "gutilsprivate.h" | ||||
|  | ||||
| #define TAP_VERSION G_STRINGIFY (13) | ||||
| /* FIXME: Remove '#' prefix when we'll depend on a meson version supporting TAP 14 | ||||
|  * See https://gitlab.gnome.org/GNOME/glib/-/issues/2885 */ | ||||
| #define TAP_SUBTEST_PREFIX "#    "  /* a 4-space indented line */ | ||||
| #define TAP_VERSION G_STRINGIFY (14) | ||||
| #define TAP_SUBTEST_PREFIX "    "  /* a 4-space indented line */ | ||||
|  | ||||
| /** | ||||
|  * g_test_initialized: | ||||
|   | ||||
| @@ -35,8 +35,8 @@ | ||||
| #include <stdlib.h> | ||||
| #include <string.h> | ||||
|  | ||||
| #define TAP_VERSION G_STRINGIFY (13) | ||||
| #define TAP_SUBTEST_PREFIX "#    " | ||||
| #define TAP_VERSION G_STRINGIFY (14) | ||||
| #define TAP_SUBTEST_PREFIX "    " | ||||
|  | ||||
| /* test assertion variants */ | ||||
| static void | ||||
|   | ||||
		Reference in New Issue
	
	Block a user