这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@KevinRansom
Copy link
Contributor

Add a test case for using System.Text.Json.
Fixes #637 - Unable to use System.Text.Json iin Jupyter c# kernel #637

It now works, add a test case so that we keep it working.


await SubmitCode(kernel, source);

KernelEvents
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also do this, which will be more informative if the event is missing:

KernelEvents
  .Should()
  .ContainSingle<ReturnValueProduced>()
  .Which
  .Value
  .Should()
  .BeTrue();

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it ...

@KevinRansom
Copy link
Contributor Author

@brettfo, @jonsequitur,

sorry to be a pest can we merge this please, Github is not my friend.

Thanks

Kevin

@colombod colombod merged commit 6ab54ea into dotnet:master Dec 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to use System.Text.Json iin Jupyter c# kernel

3 participants