mirror of
https://github.com/sbrow/envr.git
synced 2026-06-27 10:38:33 -04:00
feat: All encryption/decryption now happens in-memory.
Release-as: v0.3.0
This commit is contained in:
@@ -163,8 +163,8 @@ test_envr_dir :: proc(t: ^testing.T) {
|
||||
}
|
||||
|
||||
@(test)
|
||||
test_data_encrypted_path :: proc(t: ^testing.T) {
|
||||
p := data_encrypted_path("/tmp/envr-fake-home-datapath/config.json")
|
||||
test_data_path :: proc(t: ^testing.T) {
|
||||
p := data_path("/tmp/envr-fake-home-datapath/config.json")
|
||||
defer delete(p)
|
||||
testing.expectf(t, strings.has_suffix(p, "data.envr"), "should end with data.envr, got %s", p)
|
||||
testing.expectf(t, strings.contains(p, ".envr"), "should contain .envr dir, got %s", p)
|
||||
|
||||
Reference in New Issue
Block a user