I have passed all the tests but the online editor still shows 1 of 2 tests as not passed. Still the header is all green.
For csharp developer-privileges,
instructions.md
contains only 2 tasks but DeveloperPrivilegesTests.cs
has 3 tasks.
The third is to make sure Developers
contains Anders:
// ["Anders"] = {"anders@ex.ism",
{"brown", 0.85m},
["Anders", "Redmond", "USA"]},
Oh that’s awkward!
Could you share your code as text in a codeblock? It’s pretty hard to copy/paste text from an image.
Sure! Here it is
public Authenticator()
{
Admin = new Identity{Email="admin@ex.ism", FacialFeatures=new FacialFeatures{EyeColor="green", PhiltrumWidth=0.9m}, NameAndAddress=new List<string>{"Chanakya", "Mumbai", "India"}};
Developers = new Dictionary<string, Identity>{{"Bertrand" , new Identity{Email = "bert@ex.ism", FacialFeatures=new FacialFeatures{EyeColor="blue", PhiltrumWidth=0.8m}, NameAndAddress=new List<string>{"Bertrand", "Paris", "France"}}}, {"Anders" , new Identity{Email="anders@ex.ism", FacialFeatures=new FacialFeatures{EyeColor="brown", PhiltrumWidth=0.85m}, NameAndAddress= new List<string>{"Anders", "Remond", "USA"}}}};
}
Anders does not live in
Oh you are right, but I fixed it and it still says 1/2 passed with all green :/
Could you share your current code and the expanded test output (using codeblocks and not images)?