Skip to content

Commit e6eff31

Browse files
committed
fix: fixed typo
1 parent 024f296 commit e6eff31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/mongo/password_safe_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ defmodule Mongo.PasswordSafeTest do
1111
PasswordSafe.set_password(pid, pw)
1212
%{key: _key, pw: enc_pw} = :sys.get_state(pid)
1313
assert enc_pw != pw
14-
assert pw == PasswordSafe.get_pasword(pid)
14+
assert pw == PasswordSafe.get_password(pid)
1515
end
1616

1717
#
@@ -22,6 +22,6 @@ defmodule Mongo.PasswordSafeTest do
2222
url = "mongodb://myDBReader:D1fficultP%40ssw0rd@mongodb0.example.com:27017/admin"
2323
opts = UrlParser.parse_url(url: url)
2424
assert "*****" == Keyword.get(opts, :password)
25-
assert "D1fficultP@ssw0rd" == PasswordSafe.get_pasword(Keyword.get(opts, :pw_safe))
25+
assert "D1fficultP@ssw0rd" == PasswordSafe.get_password(Keyword.get(opts, :pw_safe))
2626
end
2727
end

0 commit comments

Comments
 (0)