From c8f140e3f8172feec04675e0e9df78105711efa3 Mon Sep 17 00:00:00 2001 From: Alastair Donaldson Date: Wed, 17 Jul 2024 17:02:29 +0100 Subject: [PATCH] Fix single file test expectations Fixes #299. --- .../initializer_list_narrower_nested.cc.expected | 10 +++++----- .../initializer_list_narrower_nested.cc.noopt.expected | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/test/single_file/initializer_list_narrower_nested.cc.expected b/test/single_file/initializer_list_narrower_nested.cc.expected index 66822c30..0075e412 100644 --- a/test/single_file/initializer_list_narrower_nested.cc.expected +++ b/test/single_file/initializer_list_narrower_nested.cc.expected @@ -1,3 +1,8 @@ +struct foo { + short x; + short y; +}; + #include #include #include @@ -60,11 +65,6 @@ static int __dredd_replace_expr_int_constant(int arg, int local_mutation_id) { return arg; } -struct foo { - short x; - short y; -}; - void baz() { foo bar[] = {{static_cast(__dredd_replace_expr_int_one(1, 0)), static_cast(__dredd_replace_expr_int_constant(2, 3))}}; } diff --git a/test/single_file/initializer_list_narrower_nested.cc.noopt.expected b/test/single_file/initializer_list_narrower_nested.cc.noopt.expected index 9b16f481..d19c0eb8 100644 --- a/test/single_file/initializer_list_narrower_nested.cc.noopt.expected +++ b/test/single_file/initializer_list_narrower_nested.cc.noopt.expected @@ -1,3 +1,8 @@ +struct foo { + short x; + short y; +}; + #include #include #include @@ -53,11 +58,6 @@ static int __dredd_replace_expr_int(int arg, int local_mutation_id) { return arg; } -struct foo { - short x; - short y; -}; - void baz() { foo bar[] = {{static_cast(__dredd_replace_expr_int(1, 0)), static_cast(__dredd_replace_expr_int(2, 6))}}; }