Skip to content

Commit fbae1ad

Browse files
Yoorkinbobzhang
authored andcommitted
fix: add @test.T::name() method
1 parent 2e882e3 commit fbae1ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test.mbt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,7 @@ pub fn snapshot(
123123
}
124124
125125
///|
126+
/// Return the name of the test.
127+
pub fn T::name(self : Self) -> String {
128+
self.name
129+
}

0 commit comments

Comments
 (0)