### Function Macro

# GLib test_trap_assert_stdout

since: 2.16

#### Declaration

    #define g_test_trap_assert_stdout (
      soutpattern
    )

#### Description

Assert that the stdout output of the last test subprocess matches `soutpattern`. See g_test_trap_subprocess().

Available since: 2.16

This function is not directly available to language bindings.

#### Parameters

`soutpattern`

  Type: `-`

  A glob-style [pattern][glib-Glob-style-pattern-matching]