Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return an empty String instead of null when creating a mock #373

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Return an empty String instead of null when creating a mock #373

wants to merge 2 commits into from

Commits on Jan 15, 2020

  1. Return an empty String instead of null when creating a mock

    I believe `String` values in mocks should return `""` by default.
    It is a historically 'special' type which has always had some special 'primitive-like' privileges. 
    I assume people expect it to return a nice value as well!
    jordigarcl committed Jan 15, 2020
    Configuration menu
    Copy the full SHA
    a4db2e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43989ba View commit details
    Browse the repository at this point in the history