Skip to content

Commit

Permalink
snap
Browse files Browse the repository at this point in the history
  • Loading branch information
rafapereirabr committed Jan 21, 2025
1 parent e228ef6 commit e1739b4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/testthat/_snaps/cache.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
# messages are formatted correctly

Code
set_cache_dir()
definir_pasta_cache()
Message <geocodebr_cache_dir>
i Setting cache directory to '<path_to_default_dir>'.

---

Code
set_cache_dir("aaa")
definir_pasta_cache("aaa")
Message <geocodebr_cache_dir>
i Setting cache directory to 'aaa'.

# behaves correctly

Code
list_cached_data(print_tree = TRUE)
listar_dados_cache(print_tree = TRUE)
Output
<path_to_cache_dir>
+-- hello.parquet
\-- oie.parquet

# clean_cache_dir behaves correctly
# deletar_pasta_cache behaves correctly

Code
res <- clean_cache_dir()
res <- deletar_pasta_cache()
Message <geocodebr_message_removed_cache_dir>
v Deleted cache directory previously located at '<path_to_cache_dir>'.

0 comments on commit e1739b4

Please sign in to comment.