Skip to content

Commit 4e71cc5

Browse files
alanpqCrauzer
authored andcommitted
fix: actually mark author_size test as a test
1 parent ffcc884 commit 4e71cc5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

crates/league-modpkg/src/license.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ mod tests {
4646
use crate::utils::test;
4747
use proptest::prelude::*;
4848
proptest! {
49-
#[test]
49+
#[test]
5050
fn test_license_size(license: ModpkgLicense) {
5151
test::written_size(&license, license.size());
5252
}

crates/league-modpkg/src/metadata.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,11 @@ mod tests {
139139
use super::*;
140140
use proptest::prelude::*;
141141
proptest! {
142-
#[test]
142+
#[test]
143143
fn test_metadata_size(metadata: ModpkgMetadata) {
144144
test::written_size(&metadata, metadata.size());
145145
}
146+
#[test]
146147
fn test_author_size(author: ModpkgAuthor) {
147148
test::written_size(&author, author.size());
148149
}

0 commit comments

Comments
 (0)