@@ -33,9 +33,8 @@ import Testing
3333 1.0.2
3434 """
3535 )
36- } operation: {
37- let tags = try await Git . getTags ( at: " ignored " )
38- #expect( tags == [
36+ } operation: { ( ) async throws in
37+ #expect( try await Git . getTags ( at: " ignored " ) == [
3938 . tag( . init( 1 , 0 , 0 , " pre " ) ) ,
4039 . tag( . init( 1 , 0 , 0 ) ) ,
4140 . tag( . init( 1 , 0 , 1 ) ) ,
@@ -52,11 +51,10 @@ import Testing
5251 }
5352 throw TestError . unknownCommand
5453 }
55- } operation: {
56- let revisionInfo = try await Git . revisionInfo ( . tag( 2 , 2 , 1 ) , at: " ignored " )
57- #expect( revisionInfo ==
58- . init( commit: " 63c973f3c2e632a340936c285e94d59f9ffb01d5 " ,
59- date: Date ( timeIntervalSince1970: 1536799579 ) ) )
54+ } operation: { ( ) async throws in
55+ #expect( try await Git . revisionInfo ( . tag( 2 , 2 , 1 ) , at: " ignored " )
56+ == . init( commit: " 63c973f3c2e632a340936c285e94d59f9ffb01d5 " ,
57+ date: Date ( timeIntervalSince1970: 1536799579 ) ) )
6058 }
6159 }
6260
@@ -70,11 +68,10 @@ import Testing
7068 }
7169 throw TestError . unknownCommand
7270 }
73- } operation: {
74- let revisionInfo = try await Git . revisionInfo ( . tag( . init( 2 , 2 , 1 ) , " v2.2.1 " ) , at: " ignored " )
75- #expect( revisionInfo ==
76- . init( commit: " 63c973f3c2e632a340936c285e94d59f9ffb01d5 " ,
77- date: Date ( timeIntervalSince1970: 1536799579 ) ) )
71+ } operation: { ( ) async throws in
72+ #expect( try await Git . revisionInfo ( . tag( . init( 2 , 2 , 1 ) , " v2.2.1 " ) , at: " ignored " )
73+ == . init( commit: " 63c973f3c2e632a340936c285e94d59f9ffb01d5 " ,
74+ date: Date ( timeIntervalSince1970: 1536799579 ) ) )
7875 }
7976 }
8077
0 commit comments