{"action":"created","comment":{"url":"https://api.github.com/repos/opencypher/openCypher/pulls/comments/63161382","id":63161382,"diff_hunk":"@@ -0,0 +1,323 @@\n+#\n+# Copyright 2016 \"Neo Technology\",\n+# Network Engine for Objects in Lund AB (http://neotechnology.com)\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License at\n+#\n+# http://www.apache.org/licenses/LICENSE-2.0\n+#\n+# Unless required by applicable law or agreed to in writing, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+# See the License for the specific language governing permissions and\n+# limitations under the License.\n+#\n+\n+Feature: FunctionsAcceptance\n+\n+  Scenario: `split()`\n+    Given any graph\n+    When executing query:\n+      \"\"\"\n+      UNWIND split('one1two', '1') AS item\n+      RETURN count(item) AS item\n+      \"\"\"\n+    Then the result should be:\n+      | item |\n+      | 2    |\n+    And no side effects\n+\n+  Scenario: `toInt()`\n+    Given an empty graph\n+    And having executed:\n+      \"\"\"\n+      CREATE (:Person {age: '42'})\n+      \"\"\"\n+    When executing query:\n+      \"\"\"\n+      MATCH (p:Person { age: '42' })\n+      WITH *\n+      MATCH (n)\n+      RETURN toInt(n.age) AS age\n+      \"\"\"\n+    Then the result should be:\n+      | age |\n+      | 42  |\n+    And no side effects\n+\n+  Scenario: `toInt()` on float\n+    Given any graph\n+    When executing query:\n+      \"\"\"\n+      WITH 82.9 AS weight\n+      RETURN toInt(weight)\n+      \"\"\"\n+    Then the result should be:\n+      | toInt(weight) |\n+      | 82            |\n+    And no side effects\n+\n+  Scenario: `toInt()` returning `null` on non-numerical string","path":"tck/features/FunctionsAcceptance.feature","position":62,"original_position":62,"commit_id":"14fc919a9bb03be7bbf4f652aa974fccea27b46a","original_commit_id":"14fc919a9bb03be7bbf4f652aa974fccea27b46a","user":{"login":"petraselmer","id":9249759,"avatar_url":"https://avatars.githubusercontent.com/u/9249759?v=3","gravatar_id":"","url":"https://api.github.com/users/petraselmer","html_url":"https://github.com/petraselmer","followers_url":"https://api.github.com/users/petraselmer/followers","following_url":"https://api.github.com/users/petraselmer/following{/other_user}","gists_url":"https://api.github.com/users/petraselmer/gists{/gist_id}","starred_url":"https://api.github.com/users/petraselmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petraselmer/subscriptions","organizations_url":"https://api.github.com/users/petraselmer/orgs","repos_url":"https://api.github.com/users/petraselmer/repos","events_url":"https://api.github.com/users/petraselmer/events{/privacy}","received_events_url":"https://api.github.com/users/petraselmer/received_events","type":"User","site_admin":false},"body":"Backticks?","created_at":"2016-05-13T10:13:02Z","updated_at":"2016-05-13T10:13:02Z","html_url":"https://github.com/opencypher/openCypher/pull/43#discussion_r63161382","pull_request_url":"https://api.github.com/repos/opencypher/openCypher/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/opencypher/openCypher/pulls/comments/63161382"},"html":{"href":"https://github.com/opencypher/openCypher/pull/43#discussion_r63161382"},"pull_request":{"href":"https://api.github.com/repos/opencypher/openCypher/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/opencypher/openCypher/pulls/43","id":68707156,"html_url":"https://github.com/opencypher/openCypher/pull/43","diff_url":"https://github.com/opencypher/openCypher/pull/43.diff","patch_url":"https://github.com/opencypher/openCypher/pull/43.patch","issue_url":"https://api.github.com/repos/opencypher/openCypher/issues/43","number":43,"state":"open","locked":false,"title":"Port FunctionsAcceptance to the TCK","user":{"login":"Mats-SX","id":2419675,"avatar_url":"https://avatars.githubusercontent.com/u/2419675?v=3","gravatar_id":"","url":"https://api.github.com/users/Mats-SX","html_url":"https://github.com/Mats-SX","followers_url":"https://api.github.com/users/Mats-SX/followers","following_url":"https://api.github.com/users/Mats-SX/following{/other_user}","gists_url":"https://api.github.com/users/Mats-SX/gists{/gist_id}","starred_url":"https://api.github.com/users/Mats-SX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mats-SX/subscriptions","organizations_url":"https://api.github.com/users/Mats-SX/orgs","repos_url":"https://api.github.com/users/Mats-SX/repos","events_url":"https://api.github.com/users/Mats-SX/events{/privacy}","received_events_url":"https://api.github.com/users/Mats-SX/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-03T13:41:28Z","updated_at":"2016-05-13T10:13:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"464ba125b57e8fa759fcdcfccbbfb3cad801f9f1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opencypher/openCypher/pulls/43/commits","review_comments_url":"https://api.github.com/repos/opencypher/openCypher/pulls/43/comments","review_comment_url":"https://api.github.com/repos/opencypher/openCypher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencypher/openCypher/issues/43/comments","statuses_url":"https://api.github.com/repos/opencypher/openCypher/statuses/14fc919a9bb03be7bbf4f652aa974fccea27b46a","head":{"label":"Mats-SX:functions-acceptance","ref":"functions-acceptance","sha":"14fc919a9bb03be7bbf4f652aa974fccea27b46a","user":{"login":"Mats-SX","id":2419675,"avatar_url":"https://avatars.githubusercontent.com/u/2419675?v=3","gravatar_id":"","url":"https://api.github.com/users/Mats-SX","html_url":"https://github.com/Mats-SX","followers_url":"https://api.github.com/users/Mats-SX/followers","following_url":"https://api.github.com/users/Mats-SX/following{/other_user}","gists_url":"https://api.github.com/users/Mats-SX/gists{/gist_id}","starred_url":"https://api.github.com/users/Mats-SX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mats-SX/subscriptions","organizations_url":"https://api.github.com/users/Mats-SX/orgs","repos_url":"https://api.github.com/users/Mats-SX/repos","events_url":"https://api.github.com/users/Mats-SX/events{/privacy}","received_events_url":"https://api.github.com/users/Mats-SX/received_events","type":"User","site_admin":false},"repo":{"id":45028229,"name":"openCypher","full_name":"Mats-SX/openCypher","owner":{"login":"Mats-SX","id":2419675,"avatar_url":"https://avatars.githubusercontent.com/u/2419675?v=3","gravatar_id":"","url":"https://api.github.com/users/Mats-SX","html_url":"https://github.com/Mats-SX","followers_url":"https://api.github.com/users/Mats-SX/followers","following_url":"https://api.github.com/users/Mats-SX/following{/other_user}","gists_url":"https://api.github.com/users/Mats-SX/gists{/gist_id}","starred_url":"https://api.github.com/users/Mats-SX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mats-SX/subscriptions","organizations_url":"https://api.github.com/users/Mats-SX/orgs","repos_url":"https://api.github.com/users/Mats-SX/repos","events_url":"https://api.github.com/users/Mats-SX/events{/privacy}","received_events_url":"https://api.github.com/users/Mats-SX/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Mats-SX/openCypher","description":"Specification of the Cypher query language","fork":true,"url":"https://api.github.com/repos/Mats-SX/openCypher","forks_url":"https://api.github.com/repos/Mats-SX/openCypher/forks","keys_url":"https://api.github.com/repos/Mats-SX/openCypher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mats-SX/openCypher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mats-SX/openCypher/teams","hooks_url":"https://api.github.com/repos/Mats-SX/openCypher/hooks","issue_events_url":"https://api.github.com/repos/Mats-SX/openCypher/issues/events{/number}","events_url":"https://api.github.com/repos/Mats-SX/openCypher/events","assignees_url":"https://api.github.com/repos/Mats-SX/openCypher/assignees{/user}","branches_url":"https://api.github.com/repos/Mats-SX/openCypher/branches{/branch}","tags_url":"https://api.github.com/repos/Mats-SX/openCypher/tags","blobs_url":"https://api.github.com/repos/Mats-SX/openCypher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mats-SX/openCypher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mats-SX/openCypher/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mats-SX/openCypher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mats-SX/openCypher/statuses/{sha}","languages_url":"https://api.github.com/repos/Mats-SX/openCypher/languages","stargazers_url":"https://api.github.com/repos/Mats-SX/openCypher/stargazers","contributors_url":"https://api.github.com/repos/Mats-SX/openCypher/contributors","subscribers_url":"https://api.github.com/repos/Mats-SX/openCypher/subscribers","subscription_url":"https://api.github.com/repos/Mats-SX/openCypher/subscription","commits_url":"https://api.github.com/repos/Mats-SX/openCypher/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mats-SX/openCypher/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mats-SX/openCypher/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mats-SX/openCypher/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mats-SX/openCypher/contents/{+path}","compare_url":"https://api.github.com/repos/Mats-SX/openCypher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mats-SX/openCypher/merges","archive_url":"https://api.github.com/repos/Mats-SX/openCypher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mats-SX/openCypher/downloads","issues_url":"https://api.github.com/repos/Mats-SX/openCypher/issues{/number}","pulls_url":"https://api.github.com/repos/Mats-SX/openCypher/pulls{/number}","milestones_url":"https://api.github.com/repos/Mats-SX/openCypher/milestones{/number}","notifications_url":"https://api.github.com/repos/Mats-SX/openCypher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mats-SX/openCypher/labels{/name}","releases_url":"https://api.github.com/repos/Mats-SX/openCypher/releases{/id}","deployments_url":"https://api.github.com/repos/Mats-SX/openCypher/deployments","created_at":"2015-10-27T08:53:14Z","updated_at":"2016-02-10T12:26:32Z","pushed_at":"2016-05-12T13:53:58Z","git_url":"git://github.com/Mats-SX/openCypher.git","ssh_url":"git@github.com:Mats-SX/openCypher.git","clone_url":"https://github.com/Mats-SX/openCypher.git","svn_url":"https://github.com/Mats-SX/openCypher","homepage":null,"size":1368,"stargazers_count":0,"watchers_count":0,"language":"Cucumber","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":"opencypher:master","ref":"master","sha":"0cb88a55178cac497f0e03bfe4e4de001bd846ec","user":{"login":"opencypher","id":14857376,"avatar_url":"https://avatars.githubusercontent.com/u/14857376?v=3","gravatar_id":"","url":"https://api.github.com/users/opencypher","html_url":"https://github.com/opencypher","followers_url":"https://api.github.com/users/opencypher/followers","following_url":"https://api.github.com/users/opencypher/following{/other_user}","gists_url":"https://api.github.com/users/opencypher/gists{/gist_id}","starred_url":"https://api.github.com/users/opencypher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencypher/subscriptions","organizations_url":"https://api.github.com/users/opencypher/orgs","repos_url":"https://api.github.com/users/opencypher/repos","events_url":"https://api.github.com/users/opencypher/events{/privacy}","received_events_url":"https://api.github.com/users/opencypher/received_events","type":"Organization","site_admin":false},"repo":{"id":30405191,"name":"openCypher","full_name":"opencypher/openCypher","owner":{"login":"opencypher","id":14857376,"avatar_url":"https://avatars.githubusercontent.com/u/14857376?v=3","gravatar_id":"","url":"https://api.github.com/users/opencypher","html_url":"https://github.com/opencypher","followers_url":"https://api.github.com/users/opencypher/followers","following_url":"https://api.github.com/users/opencypher/following{/other_user}","gists_url":"https://api.github.com/users/opencypher/gists{/gist_id}","starred_url":"https://api.github.com/users/opencypher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencypher/subscriptions","organizations_url":"https://api.github.com/users/opencypher/orgs","repos_url":"https://api.github.com/users/opencypher/repos","events_url":"https://api.github.com/users/opencypher/events{/privacy}","received_events_url":"https://api.github.com/users/opencypher/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opencypher/openCypher","description":"Specification of the Cypher query language","fork":false,"url":"https://api.github.com/repos/opencypher/openCypher","forks_url":"https://api.github.com/repos/opencypher/openCypher/forks","keys_url":"https://api.github.com/repos/opencypher/openCypher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencypher/openCypher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencypher/openCypher/teams","hooks_url":"https://api.github.com/repos/opencypher/openCypher/hooks","issue_events_url":"https://api.github.com/repos/opencypher/openCypher/issues/events{/number}","events_url":"https://api.github.com/repos/opencypher/openCypher/events","assignees_url":"https://api.github.com/repos/opencypher/openCypher/assignees{/user}","branches_url":"https://api.github.com/repos/opencypher/openCypher/branches{/branch}","tags_url":"https://api.github.com/repos/opencypher/openCypher/tags","blobs_url":"https://api.github.com/repos/opencypher/openCypher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencypher/openCypher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencypher/openCypher/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencypher/openCypher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencypher/openCypher/statuses/{sha}","languages_url":"https://api.github.com/repos/opencypher/openCypher/languages","stargazers_url":"https://api.github.com/repos/opencypher/openCypher/stargazers","contributors_url":"https://api.github.com/repos/opencypher/openCypher/contributors","subscribers_url":"https://api.github.com/repos/opencypher/openCypher/subscribers","subscription_url":"https://api.github.com/repos/opencypher/openCypher/subscription","commits_url":"https://api.github.com/repos/opencypher/openCypher/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencypher/openCypher/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencypher/openCypher/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencypher/openCypher/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencypher/openCypher/contents/{+path}","compare_url":"https://api.github.com/repos/opencypher/openCypher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencypher/openCypher/merges","archive_url":"https://api.github.com/repos/opencypher/openCypher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencypher/openCypher/downloads","issues_url":"https://api.github.com/repos/opencypher/openCypher/issues{/number}","pulls_url":"https://api.github.com/repos/opencypher/openCypher/pulls{/number}","milestones_url":"https://api.github.com/repos/opencypher/openCypher/milestones{/number}","notifications_url":"https://api.github.com/repos/opencypher/openCypher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencypher/openCypher/labels{/name}","releases_url":"https://api.github.com/repos/opencypher/openCypher/releases{/id}","deployments_url":"https://api.github.com/repos/opencypher/openCypher/deployments","created_at":"2015-02-06T09:35:42Z","updated_at":"2016-05-09T14:41:48Z","pushed_at":"2016-05-13T09:50:05Z","git_url":"git://github.com/opencypher/openCypher.git","ssh_url":"git@github.com:opencypher/openCypher.git","clone_url":"https://github.com/opencypher/openCypher.git","svn_url":"https://github.com/opencypher/openCypher","homepage":"http://www.opencypher.org","size":1409,"stargazers_count":69,"watchers_count":69,"language":"Cucumber","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":16,"forks":14,"open_issues":16,"watchers":69,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencypher/openCypher/pulls/43"},"html":{"href":"https://github.com/opencypher/openCypher/pull/43"},"issue":{"href":"https://api.github.com/repos/opencypher/openCypher/issues/43"},"comments":{"href":"https://api.github.com/repos/opencypher/openCypher/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/opencypher/openCypher/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/opencypher/openCypher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencypher/openCypher/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/opencypher/openCypher/statuses/14fc919a9bb03be7bbf4f652aa974fccea27b46a"}}}}