gtk/testsuite/testutils.h
Benjamin Otte dd93aa9f50 testsuite: Rewrite diff_with_file()
use the modern version using GSubprocess that already exists in
node-parser.

Also change from one function to two - so tests can diff GBytes and
strings, depending on which they prefer.
2024-11-05 01:07:22 +01:00

13 lines
593 B
C

#pragma once
#include <glib.h>
char * diff_string_with_file (const char *file1,
const char *text,
gssize len,
GError **error);
char * diff_bytes_with_file (const char *file1,
GBytes *bytes,
GError **error);