Skip to content

Commit 6d8ce1c

Browse files
committed
Don't use woff2 in test
1 parent f1ab345 commit 6d8ce1c

1 file changed

Lines changed: 7 additions & 14 deletions

File tree

‎tests/unit/struct_default_ctor.cpp‎

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,15 @@
1-
// Copyright (c) 2022-present INESC-ID.
2-
// Distributed under the MIT license that can be found in the LICENSE file.
3-
41
#include <assert.h>
5-
#include <string>
62

7-
struct WOFF2Params {
8-
WOFF2Params()
9-
: extended_metadata(""), brotli_quality(11), allow_transforms(true) {}
3+
struct S {
4+
S() : a(11), b(true) {}
105

11-
std::string extended_metadata;
12-
int brotli_quality;
13-
bool allow_transforms;
6+
int a;
7+
bool b;
148
};
159

1610
int main() {
17-
WOFF2Params params;
18-
assert(params.extended_metadata.size() == 0);
19-
assert(params.brotli_quality == 11);
20-
assert(params.allow_transforms == true);
11+
S s;
12+
assert(s.a == 11);
13+
assert(s.b == true);
2114
return 0;
2215
}

0 commit comments

Comments
 (0)