@@ -43,7 +43,7 @@ final class DiskCacheTests {
4343 let clock = ManualClock ( )
4444 let cache = DiskCache < String > ( options: cacheOptions ( ) , clock: clock, logger: . init( . default) )
4545
46- await cache. store ( Data ( ) , for: " empty " )
46+ cache. store ( Data ( ) , for: " empty " )
4747
4848 try await yield ( until: await cache. isFlushScheduled)
4949
@@ -81,8 +81,8 @@ final class DiskCacheTests {
8181 let clock = ManualClock ( )
8282 let cache = DiskCache < String > ( options: cacheOptions ( ) , clock: clock, logger: . init( . default) )
8383
84- await cache. store ( Data ( [ 1 ] ) , for: " item0 " )
85- await cache. store ( Data ( [ 1 , 2 ] ) , for: " item1 " )
84+ cache. store ( Data ( [ 1 ] ) , for: " item0 " )
85+ cache. store ( Data ( [ 1 , 2 ] ) , for: " item1 " )
8686
8787 try await yield ( until: await cache. isFlushScheduled)
8888
@@ -104,9 +104,9 @@ final class DiskCacheTests {
104104 let clock = ManualClock ( )
105105 let cache = DiskCache < String > ( options: cacheOptions ( ) , clock: clock, logger: . init( . default) )
106106
107- await cache. store ( Data ( [ 1 ] ) , for: " item0 " )
108- await cache. store ( Data ( [ 1 , 2 ] ) , for: " item1 " )
109- await cache. remove ( for: " item0 " )
107+ cache. store ( Data ( [ 1 ] ) , for: " item0 " )
108+ cache. store ( Data ( [ 1 , 2 ] ) , for: " item1 " )
109+ cache. remove ( for: " item0 " )
110110
111111 try await yield ( until: await cache. isFlushScheduled)
112112
@@ -138,7 +138,7 @@ final class DiskCacheTests {
138138 let clock = ManualClock ( )
139139 let cache = DiskCache < String > ( options: cacheOptions ( ) , clock: clock, logger: . init( . default) )
140140
141- await cache. store ( Data ( [ 1 ] ) , for: " item0 " )
141+ cache. store ( Data ( [ 1 ] ) , for: " item0 " )
142142 try await yield ( until: await cache. isFlushScheduled)
143143
144144 clock. advance ( by: . milliseconds( 1000 ) )
@@ -153,7 +153,7 @@ final class DiskCacheTests {
153153 #expect( isEmpty)
154154 }
155155
156- await cache. removeAll ( )
156+ cache. removeAll ( )
157157 try await yield ( until: await cache. isFlushScheduled)
158158
159159 clock. advance ( by: . milliseconds( 1000 ) )
@@ -181,9 +181,9 @@ final class DiskCacheTests {
181181 let clock = ManualClock ( )
182182 let cache = DiskCache < String > ( options: options, clock: clock)
183183
184- await cache. store ( Data ( [ 1 ] ) , for: " item0 " )
185- await cache. store ( Data ( [ 1 , 2 ] ) , for: " item1 " )
186- await cache. store ( Data ( [ 1 , 2 , 3 ] ) , for: " item2 " )
184+ cache. store ( Data ( [ 1 ] ) , for: " item0 " )
185+ cache. store ( Data ( [ 1 , 2 ] ) , for: " item1 " )
186+ cache. store ( Data ( [ 1 , 2 , 3 ] ) , for: " item2 " )
187187
188188 try await yield ( until: await cache. isFlushScheduled)
189189
0 commit comments