{"action":"created","comment":{"url":"https://api.github.com/repos/perl6/doc/pulls/comments/59989583","id":59989583,"diff_hunk":"@@ -141,6 +141,12 @@ C<$description> of the test.\n     my $eulers-constant-approx = 2.71828;\n     is-approx $eulers-constant-approx, e, \"approximate Euler's constant\";\n \n+The use can also input a desired tolerance, e.g., testing $some-number:\n+\n+    my $spec-num = 1.2345;\n+    my $spec-tol = 0.1;\n+    is-approx $some-number, $spec-num, $tol, \"special tolerance check\";","path":"doc/Language/testing.pod","position":17,"original_position":17,"commit_id":"d00498427280ed7f1a2cce14fc9cb87baebd27d7","original_commit_id":"d00498427280ed7f1a2cce14fc9cb87baebd27d7","user":{"login":"MadcapJake","id":3377525,"avatar_url":"https://avatars.githubusercontent.com/u/3377525?v=3","gravatar_id":"","url":"https://api.github.com/users/MadcapJake","html_url":"https://github.com/MadcapJake","followers_url":"https://api.github.com/users/MadcapJake/followers","following_url":"https://api.github.com/users/MadcapJake/following{/other_user}","gists_url":"https://api.github.com/users/MadcapJake/gists{/gist_id}","starred_url":"https://api.github.com/users/MadcapJake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MadcapJake/subscriptions","organizations_url":"https://api.github.com/users/MadcapJake/orgs","repos_url":"https://api.github.com/users/MadcapJake/repos","events_url":"https://api.github.com/users/MadcapJake/events{/privacy}","received_events_url":"https://api.github.com/users/MadcapJake/received_events","type":"User","site_admin":false},"body":"`Variable '$tol' is not declared. Did you mean '$spec-tol'?`","created_at":"2016-04-17T18:18:20Z","updated_at":"2016-04-17T18:18:20Z","html_url":"https://github.com/perl6/doc/pull/452#discussion_r59989583","pull_request_url":"https://api.github.com/repos/perl6/doc/pulls/452","_links":{"self":{"href":"https://api.github.com/repos/perl6/doc/pulls/comments/59989583"},"html":{"href":"https://github.com/perl6/doc/pull/452#discussion_r59989583"},"pull_request":{"href":"https://api.github.com/repos/perl6/doc/pulls/452"}}},"pull_request":{"url":"https://api.github.com/repos/perl6/doc/pulls/452","id":66766136,"html_url":"https://github.com/perl6/doc/pull/452","diff_url":"https://github.com/perl6/doc/pull/452.diff","patch_url":"https://github.com/perl6/doc/pull/452.patch","issue_url":"https://api.github.com/repos/perl6/doc/issues/452","number":452,"state":"open","locked":false,"title":"add example of a user-entered tolerance; emphasize Test is a core module","user":{"login":"tbrowder","id":1039060,"avatar_url":"https://avatars.githubusercontent.com/u/1039060?v=3","gravatar_id":"","url":"https://api.github.com/users/tbrowder","html_url":"https://github.com/tbrowder","followers_url":"https://api.github.com/users/tbrowder/followers","following_url":"https://api.github.com/users/tbrowder/following{/other_user}","gists_url":"https://api.github.com/users/tbrowder/gists{/gist_id}","starred_url":"https://api.github.com/users/tbrowder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbrowder/subscriptions","organizations_url":"https://api.github.com/users/tbrowder/orgs","repos_url":"https://api.github.com/users/tbrowder/repos","events_url":"https://api.github.com/users/tbrowder/events{/privacy}","received_events_url":"https://api.github.com/users/tbrowder/received_events","type":"User","site_admin":false},"body":"Add a note about Test being a core module.  Also add an example of a user-supplied tolerance for numerical testing.\r\n\r\nI find these additions helpful. It isn't clear in current docs that Test is a core module, and thus a casual user has to search a while for its source.  A section on core modules would be helpful, perhaps referenced on the page where the external modules are listed: <https://modules.perl6.org/>.\r\n\r\nAnother place to reference them would be to add another category, \"Core Modules,\" on this page: <https://doc.perl6.org/>","created_at":"2016-04-17T11:55:22Z","updated_at":"2016-04-17T18:18:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ba96cf52f0b7e02d4033f0f6ab484c145b6d6f7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/perl6/doc/pulls/452/commits","review_comments_url":"https://api.github.com/repos/perl6/doc/pulls/452/comments","review_comment_url":"https://api.github.com/repos/perl6/doc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/perl6/doc/issues/452/comments","statuses_url":"https://api.github.com/repos/perl6/doc/statuses/d00498427280ed7f1a2cce14fc9cb87baebd27d7","head":{"label":"tbrowder:master","ref":"master","sha":"d00498427280ed7f1a2cce14fc9cb87baebd27d7","user":{"login":"tbrowder","id":1039060,"avatar_url":"https://avatars.githubusercontent.com/u/1039060?v=3","gravatar_id":"","url":"https://api.github.com/users/tbrowder","html_url":"https://github.com/tbrowder","followers_url":"https://api.github.com/users/tbrowder/followers","following_url":"https://api.github.com/users/tbrowder/following{/other_user}","gists_url":"https://api.github.com/users/tbrowder/gists{/gist_id}","starred_url":"https://api.github.com/users/tbrowder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbrowder/subscriptions","organizations_url":"https://api.github.com/users/tbrowder/orgs","repos_url":"https://api.github.com/users/tbrowder/repos","events_url":"https://api.github.com/users/tbrowder/events{/privacy}","received_events_url":"https://api.github.com/users/tbrowder/received_events","type":"User","site_admin":false},"repo":{"id":32022856,"name":"doc","full_name":"tbrowder/doc","owner":{"login":"tbrowder","id":1039060,"avatar_url":"https://avatars.githubusercontent.com/u/1039060?v=3","gravatar_id":"","url":"https://api.github.com/users/tbrowder","html_url":"https://github.com/tbrowder","followers_url":"https://api.github.com/users/tbrowder/followers","following_url":"https://api.github.com/users/tbrowder/following{/other_user}","gists_url":"https://api.github.com/users/tbrowder/gists{/gist_id}","starred_url":"https://api.github.com/users/tbrowder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbrowder/subscriptions","organizations_url":"https://api.github.com/users/tbrowder/orgs","repos_url":"https://api.github.com/users/tbrowder/repos","events_url":"https://api.github.com/users/tbrowder/events{/privacy}","received_events_url":"https://api.github.com/users/tbrowder/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tbrowder/doc","description":"Perl 6 documentation (tools and docs)","fork":true,"url":"https://api.github.com/repos/tbrowder/doc","forks_url":"https://api.github.com/repos/tbrowder/doc/forks","keys_url":"https://api.github.com/repos/tbrowder/doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tbrowder/doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tbrowder/doc/teams","hooks_url":"https://api.github.com/repos/tbrowder/doc/hooks","issue_events_url":"https://api.github.com/repos/tbrowder/doc/issues/events{/number}","events_url":"https://api.github.com/repos/tbrowder/doc/events","assignees_url":"https://api.github.com/repos/tbrowder/doc/assignees{/user}","branches_url":"https://api.github.com/repos/tbrowder/doc/branches{/branch}","tags_url":"https://api.github.com/repos/tbrowder/doc/tags","blobs_url":"https://api.github.com/repos/tbrowder/doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tbrowder/doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tbrowder/doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/tbrowder/doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tbrowder/doc/statuses/{sha}","languages_url":"https://api.github.com/repos/tbrowder/doc/languages","stargazers_url":"https://api.github.com/repos/tbrowder/doc/stargazers","contributors_url":"https://api.github.com/repos/tbrowder/doc/contributors","subscribers_url":"https://api.github.com/repos/tbrowder/doc/subscribers","subscription_url":"https://api.github.com/repos/tbrowder/doc/subscription","commits_url":"https://api.github.com/repos/tbrowder/doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/tbrowder/doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/tbrowder/doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/tbrowder/doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/tbrowder/doc/contents/{+path}","compare_url":"https://api.github.com/repos/tbrowder/doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tbrowder/doc/merges","archive_url":"https://api.github.com/repos/tbrowder/doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tbrowder/doc/downloads","issues_url":"https://api.github.com/repos/tbrowder/doc/issues{/number}","pulls_url":"https://api.github.com/repos/tbrowder/doc/pulls{/number}","milestones_url":"https://api.github.com/repos/tbrowder/doc/milestones{/number}","notifications_url":"https://api.github.com/repos/tbrowder/doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tbrowder/doc/labels{/name}","releases_url":"https://api.github.com/repos/tbrowder/doc/releases{/id}","deployments_url":"https://api.github.com/repos/tbrowder/doc/deployments","created_at":"2015-03-11T14:43:08Z","updated_at":"2016-04-02T18:35:18Z","pushed_at":"2016-04-17T11:46:33Z","git_url":"git://github.com/tbrowder/doc.git","ssh_url":"git@github.com:tbrowder/doc.git","clone_url":"https://github.com/tbrowder/doc.git","svn_url":"https://github.com/tbrowder/doc","homepage":"http://doc.perl6.org/","size":3942,"stargazers_count":0,"watchers_count":0,"language":"Perl6","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"perl6:master","ref":"master","sha":"db65e03d930c768ed6a4faf4235315a2844d7a9c","user":{"login":"perl6","id":52564,"avatar_url":"https://avatars.githubusercontent.com/u/52564?v=3","gravatar_id":"","url":"https://api.github.com/users/perl6","html_url":"https://github.com/perl6","followers_url":"https://api.github.com/users/perl6/followers","following_url":"https://api.github.com/users/perl6/following{/other_user}","gists_url":"https://api.github.com/users/perl6/gists{/gist_id}","starred_url":"https://api.github.com/users/perl6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perl6/subscriptions","organizations_url":"https://api.github.com/users/perl6/orgs","repos_url":"https://api.github.com/users/perl6/repos","events_url":"https://api.github.com/users/perl6/events{/privacy}","received_events_url":"https://api.github.com/users/perl6/received_events","type":"Organization","site_admin":false},"repo":{"id":4599128,"name":"doc","full_name":"perl6/doc","owner":{"login":"perl6","id":52564,"avatar_url":"https://avatars.githubusercontent.com/u/52564?v=3","gravatar_id":"","url":"https://api.github.com/users/perl6","html_url":"https://github.com/perl6","followers_url":"https://api.github.com/users/perl6/followers","following_url":"https://api.github.com/users/perl6/following{/other_user}","gists_url":"https://api.github.com/users/perl6/gists{/gist_id}","starred_url":"https://api.github.com/users/perl6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perl6/subscriptions","organizations_url":"https://api.github.com/users/perl6/orgs","repos_url":"https://api.github.com/users/perl6/repos","events_url":"https://api.github.com/users/perl6/events{/privacy}","received_events_url":"https://api.github.com/users/perl6/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/perl6/doc","description":"Perl 6 documentation (tools and docs)","fork":false,"url":"https://api.github.com/repos/perl6/doc","forks_url":"https://api.github.com/repos/perl6/doc/forks","keys_url":"https://api.github.com/repos/perl6/doc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/perl6/doc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/perl6/doc/teams","hooks_url":"https://api.github.com/repos/perl6/doc/hooks","issue_events_url":"https://api.github.com/repos/perl6/doc/issues/events{/number}","events_url":"https://api.github.com/repos/perl6/doc/events","assignees_url":"https://api.github.com/repos/perl6/doc/assignees{/user}","branches_url":"https://api.github.com/repos/perl6/doc/branches{/branch}","tags_url":"https://api.github.com/repos/perl6/doc/tags","blobs_url":"https://api.github.com/repos/perl6/doc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/perl6/doc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/perl6/doc/git/refs{/sha}","trees_url":"https://api.github.com/repos/perl6/doc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/perl6/doc/statuses/{sha}","languages_url":"https://api.github.com/repos/perl6/doc/languages","stargazers_url":"https://api.github.com/repos/perl6/doc/stargazers","contributors_url":"https://api.github.com/repos/perl6/doc/contributors","subscribers_url":"https://api.github.com/repos/perl6/doc/subscribers","subscription_url":"https://api.github.com/repos/perl6/doc/subscription","commits_url":"https://api.github.com/repos/perl6/doc/commits{/sha}","git_commits_url":"https://api.github.com/repos/perl6/doc/git/commits{/sha}","comments_url":"https://api.github.com/repos/perl6/doc/comments{/number}","issue_comment_url":"https://api.github.com/repos/perl6/doc/issues/comments{/number}","contents_url":"https://api.github.com/repos/perl6/doc/contents/{+path}","compare_url":"https://api.github.com/repos/perl6/doc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/perl6/doc/merges","archive_url":"https://api.github.com/repos/perl6/doc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/perl6/doc/downloads","issues_url":"https://api.github.com/repos/perl6/doc/issues{/number}","pulls_url":"https://api.github.com/repos/perl6/doc/pulls{/number}","milestones_url":"https://api.github.com/repos/perl6/doc/milestones{/number}","notifications_url":"https://api.github.com/repos/perl6/doc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/perl6/doc/labels{/name}","releases_url":"https://api.github.com/repos/perl6/doc/releases{/id}","deployments_url":"https://api.github.com/repos/perl6/doc/deployments","created_at":"2012-06-08T15:45:20Z","updated_at":"2016-04-08T13:33:02Z","pushed_at":"2016-04-17T15:32:07Z","git_url":"git://github.com/perl6/doc.git","ssh_url":"git@github.com:perl6/doc.git","clone_url":"https://github.com/perl6/doc.git","svn_url":"https://github.com/perl6/doc","homepage":"https://doc.perl6.org/","size":4785,"stargazers_count":76,"watchers_count":76,"language":"Perl6","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"open_issues_count":75,"forks":91,"open_issues":75,"watchers":76,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/perl6/doc/pulls/452"},"html":{"href":"https://github.com/perl6/doc/pull/452"},"issue":{"href":"https://api.github.com/repos/perl6/doc/issues/452"},"comments":{"href":"https://api.github.com/repos/perl6/doc/issues/452/comments"},"review_comments":{"href":"https://api.github.com/repos/perl6/doc/pulls/452/comments"},"review_comment":{"href":"https://api.github.com/repos/perl6/doc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/perl6/doc/pulls/452/commits"},"statuses":{"href":"https://api.github.com/repos/perl6/doc/statuses/d00498427280ed7f1a2cce14fc9cb87baebd27d7"}}}}