diff options
Diffstat (limited to 'testdata/config_marshaler_test.txt')
| -rw-r--r-- | testdata/config_marshaler_test.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testdata/config_marshaler_test.txt b/testdata/config_marshaler_test.txt new file mode 100644 index 0000000..b354b28 --- /dev/null +++ b/testdata/config_marshaler_test.txt @@ -0,0 +1,17 @@ +Test UnmarshalText and MarshalText on config. + +>>> input.ini +[gotp "issuer"] +test1 = SHA1:a:6:30: +test2 = SHA1:b:6:30: + +[gotp] +private_key = ~/myprivatekey.pem + +<<< output.ini +[gotp "issuer"] +test1 = SHA1:a:6:30: +test2 = SHA1:b:6:30: + +[gotp] +private_key = ~/myprivatekey.pem |
