Skip to content

Commit 01e3a9f

Browse files
update: Clean up whitespace in LRUCache implementation and tests
1 parent de61931 commit 01e3a9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/optimizely/odp/lru_cache.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def peek(key)
9191

9292
@cache_mutex.synchronize { @map[key]&.value }
9393
end
94-
94+
9595
# Remove the element associated with the provided key from the cache
9696
#
9797
# @param key - The key to remove

spec/odp/lru_cache_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
cache.save('1', 100)
174174
cache.save('2', 200)
175175

176-
cache.remove('3') # Doesn't exist
176+
cache.remove('3') # Doesn't exist
177177

178178
expect(cache.lookup('1')).to eq 100
179179
expect(cache.lookup('2')).to eq 200

0 commit comments

Comments
 (0)