Skip to content
/ ttl Public
generated from devnw/oss-template

Commit 70adc1f

Browse files
committed
Correcting test tolerance
1 parent 1a9db8a commit 70adc1f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ cache := ttl.NewCache(
3939
)
4040
```
4141

42-
The `NewCache` method returns the `ttl.Cache` interface which defines the expected API for storing and accessing data in the cache.
42+
The `NewCache` method returns the `ttl.Cache` interface which defines the expected API for storing and accessing data in the cache.
4343

4444
### Add Data to Cache
4545

@@ -65,4 +65,4 @@ As with Get, Delete uses a similar pattern to `sync.Map`.
6565

6666
`cache.Delete(ctx, key)`
6767

68-
This deletes the key from the map as well as shuts down the backend routines running that key's processing.
68+
This deletes the key from the map as well as shuts down the backend routines running that key's processing.

cache_exported_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ func Test_Set_extension(t *testing.T) {
435435
"500ms -> 3s": {
436436
time.Millisecond * 500,
437437
time.Second * 3,
438-
time.Millisecond,
438+
time.Millisecond * 50,
439439
},
440440
"1s -> 5s": {
441441
time.Second,

0 commit comments

Comments
 (0)