mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-25 03:17:52 +02:00
Merge branch 'move_assert-msg-test' into 'main'
Convert tests/assert-msg-test* to glib/tests/assert-msg-test* Closes #1434 See merge request GNOME/glib!2767
This commit is contained in:
@@ -25,9 +25,9 @@ for filename in in_files:
|
||||
with open(filename, "rb") as f:
|
||||
for line in f:
|
||||
line = line.rstrip(b"\n").rstrip(b"\r")
|
||||
match = re.search(br"\bg_[a-zA-Z0-9_]*_get_type\b", line)
|
||||
match = re.search(rb"\bg_[a-zA-Z0-9_]*_get_type\b", line)
|
||||
if match:
|
||||
func = match.group(0).decode('utf-8')
|
||||
func = match.group(0).decode("utf-8")
|
||||
if func not in funcs:
|
||||
funcs.append(func)
|
||||
if debug:
|
||||
|
Reference in New Issue
Block a user