Skip to content

Commit

Permalink
Fix single file test expectations
Browse files Browse the repository at this point in the history
Fixes #299.
  • Loading branch information
afd authored Jul 17, 2024
1 parent 24d06da commit c8f140e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions test/single_file/initializer_list_narrower_nested.cc.expected
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
struct foo {
short x;
short y;
};

#include <cinttypes>
#include <cstddef>
#include <functional>
Expand Down Expand Up @@ -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<short>(__dredd_replace_expr_int_one(1, 0)), static_cast<short>(__dredd_replace_expr_int_constant(2, 3))}};
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
struct foo {
short x;
short y;
};

#include <cinttypes>
#include <cstddef>
#include <functional>
Expand Down Expand Up @@ -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<short>(__dredd_replace_expr_int(1, 0)), static_cast<short>(__dredd_replace_expr_int(2, 6))}};
}

0 comments on commit c8f140e

Please sign in to comment.