mxfactorial
mxfactorial copied to clipboard
cadet todo: fix the rust it_creates_profile_ids_from_vec unit test
the ProfileIds struct wraps a HashMap<String, i32> of account names and profile ids
ProfileIds implements the From trait for a vec of string tuples, e.g. vec![("some_account", "1"), ("another_account", "2")]
a failing it_creates_profile_ids_from_vec unit test was added
instructions
- comment your request to fork
- fork and clone after receiving permission (uncheck "Copy the develop branch only" when forking)
cd mxfactorialgit checkout it_creates_profile_ids_from_veccargo test -p types --lib it_creates_profile_ids_from_vec- create a branch
- fix test
- submit a pull request with your fix
current
running 1 test
test account::tests::it_creates_profile_ids_from_vec ... FAILED
expected
running 1 test
test account::tests::it_creates_profile_ids_from_vec ... ok