{"action":"created","comment":{"url":"https://api.github.com/repos/smartdevicelink/sdl_atf/pulls/comments/56295955","id":56295955,"diff_hunk":"@@ -101,8 +101,15 @@ function mt.__index:ExpectNotification(funcName, ...)\n     data.sessionId == self.sessionId\n   end\n   args = table.pack(...)\n-  if #args[1] > 0 or args[1].n == 0 then\n-    args = args[1]\n+\n+  if #args ~= 0 then","path":"modules/mobile_session.lua","position":7,"original_position":7,"commit_id":"d1b1353ea4ac214a64aa40477b68f8cd1f6910b2","original_commit_id":"d1b1353ea4ac214a64aa40477b68f8cd1f6910b2","user":{"login":"LuxoftAKutsan","id":11158563,"avatar_url":"https://avatars.githubusercontent.com/u/11158563?v=3","gravatar_id":"","url":"https://api.github.com/users/LuxoftAKutsan","html_url":"https://github.com/LuxoftAKutsan","followers_url":"https://api.github.com/users/LuxoftAKutsan/followers","following_url":"https://api.github.com/users/LuxoftAKutsan/following{/other_user}","gists_url":"https://api.github.com/users/LuxoftAKutsan/gists{/gist_id}","starred_url":"https://api.github.com/users/LuxoftAKutsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuxoftAKutsan/subscriptions","organizations_url":"https://api.github.com/users/LuxoftAKutsan/orgs","repos_url":"https://api.github.com/users/LuxoftAKutsan/repos","events_url":"https://api.github.com/users/LuxoftAKutsan/events{/privacy}","received_events_url":"https://api.github.com/users/LuxoftAKutsan/received_events","type":"User","site_admin":false},"body":"can you use one if for this condition? ","created_at":"2016-03-16T08:20:44Z","updated_at":"2016-03-16T08:20:44Z","html_url":"https://github.com/smartdevicelink/sdl_atf/pull/10#discussion_r56295955","pull_request_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/smartdevicelink/sdl_atf/pulls/comments/56295955"},"html":{"href":"https://github.com/smartdevicelink/sdl_atf/pull/10#discussion_r56295955"},"pull_request":{"href":"https://api.github.com/repos/smartdevicelink/sdl_atf/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/smartdevicelink/sdl_atf/pulls/10","id":62750928,"html_url":"https://github.com/smartdevicelink/sdl_atf/pull/10","diff_url":"https://github.com/smartdevicelink/sdl_atf/pull/10.diff","patch_url":"https://github.com/smartdevicelink/sdl_atf/pull/10.patch","issue_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/issues/10","number":10,"state":"open","locked":false,"title":"Applink 17030 atf does not validate values in expect notification with one occurence","user":{"login":"AMikhniev","id":13902149,"avatar_url":"https://avatars.githubusercontent.com/u/13902149?v=3","gravatar_id":"","url":"https://api.github.com/users/AMikhniev","html_url":"https://github.com/AMikhniev","followers_url":"https://api.github.com/users/AMikhniev/followers","following_url":"https://api.github.com/users/AMikhniev/following{/other_user}","gists_url":"https://api.github.com/users/AMikhniev/gists{/gist_id}","starred_url":"https://api.github.com/users/AMikhniev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AMikhniev/subscriptions","organizations_url":"https://api.github.com/users/AMikhniev/orgs","repos_url":"https://api.github.com/users/AMikhniev/repos","events_url":"https://api.github.com/users/AMikhniev/events{/privacy}","received_events_url":"https://api.github.com/users/AMikhniev/received_events","type":"User","site_admin":false},"body":"Fixed handling of one expectation in connecttest.EXPECT_NOTIFICATION.\r\nmobile_session.ExpectNotification changed to allow validate notifications from another mobile sessions.\r\n\r\nRelated to: APPLINK-17030\r\n\r\n@AByzhynar @VVeremjova @malirod please review.","created_at":"2016-03-14T13:54:55Z","updated_at":"2016-03-16T08:20:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4b9eb0a7606656b42d7ef3f43eb5cc7fb563269","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/pulls/10/commits","review_comments_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/pulls/10/comments","review_comment_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/issues/10/comments","statuses_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/statuses/d1b1353ea4ac214a64aa40477b68f8cd1f6910b2","head":{"label":"AMikhniev:APPLINK-17030_ATF_does_not_validate_values_in_EXPECT_NOTIFICATION_with_one_occurence","ref":"APPLINK-17030_ATF_does_not_validate_values_in_EXPECT_NOTIFICATION_with_one_occurence","sha":"d1b1353ea4ac214a64aa40477b68f8cd1f6910b2","user":{"login":"AMikhniev","id":13902149,"avatar_url":"https://avatars.githubusercontent.com/u/13902149?v=3","gravatar_id":"","url":"https://api.github.com/users/AMikhniev","html_url":"https://github.com/AMikhniev","followers_url":"https://api.github.com/users/AMikhniev/followers","following_url":"https://api.github.com/users/AMikhniev/following{/other_user}","gists_url":"https://api.github.com/users/AMikhniev/gists{/gist_id}","starred_url":"https://api.github.com/users/AMikhniev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AMikhniev/subscriptions","organizations_url":"https://api.github.com/users/AMikhniev/orgs","repos_url":"https://api.github.com/users/AMikhniev/repos","events_url":"https://api.github.com/users/AMikhniev/events{/privacy}","received_events_url":"https://api.github.com/users/AMikhniev/received_events","type":"User","site_admin":false},"repo":{"id":53572418,"name":"sdl_atf","full_name":"AMikhniev/sdl_atf","owner":{"login":"AMikhniev","id":13902149,"avatar_url":"https://avatars.githubusercontent.com/u/13902149?v=3","gravatar_id":"","url":"https://api.github.com/users/AMikhniev","html_url":"https://github.com/AMikhniev","followers_url":"https://api.github.com/users/AMikhniev/followers","following_url":"https://api.github.com/users/AMikhniev/following{/other_user}","gists_url":"https://api.github.com/users/AMikhniev/gists{/gist_id}","starred_url":"https://api.github.com/users/AMikhniev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AMikhniev/subscriptions","organizations_url":"https://api.github.com/users/AMikhniev/orgs","repos_url":"https://api.github.com/users/AMikhniev/repos","events_url":"https://api.github.com/users/AMikhniev/events{/privacy}","received_events_url":"https://api.github.com/users/AMikhniev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AMikhniev/sdl_atf","description":"Automated Tests for SmartDeviceLink","fork":true,"url":"https://api.github.com/repos/AMikhniev/sdl_atf","forks_url":"https://api.github.com/repos/AMikhniev/sdl_atf/forks","keys_url":"https://api.github.com/repos/AMikhniev/sdl_atf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AMikhniev/sdl_atf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AMikhniev/sdl_atf/teams","hooks_url":"https://api.github.com/repos/AMikhniev/sdl_atf/hooks","issue_events_url":"https://api.github.com/repos/AMikhniev/sdl_atf/issues/events{/number}","events_url":"https://api.github.com/repos/AMikhniev/sdl_atf/events","assignees_url":"https://api.github.com/repos/AMikhniev/sdl_atf/assignees{/user}","branches_url":"https://api.github.com/repos/AMikhniev/sdl_atf/branches{/branch}","tags_url":"https://api.github.com/repos/AMikhniev/sdl_atf/tags","blobs_url":"https://api.github.com/repos/AMikhniev/sdl_atf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AMikhniev/sdl_atf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AMikhniev/sdl_atf/git/refs{/sha}","trees_url":"https://api.github.com/repos/AMikhniev/sdl_atf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AMikhniev/sdl_atf/statuses/{sha}","languages_url":"https://api.github.com/repos/AMikhniev/sdl_atf/languages","stargazers_url":"https://api.github.com/repos/AMikhniev/sdl_atf/stargazers","contributors_url":"https://api.github.com/repos/AMikhniev/sdl_atf/contributors","subscribers_url":"https://api.github.com/repos/AMikhniev/sdl_atf/subscribers","subscription_url":"https://api.github.com/repos/AMikhniev/sdl_atf/subscription","commits_url":"https://api.github.com/repos/AMikhniev/sdl_atf/commits{/sha}","git_commits_url":"https://api.github.com/repos/AMikhniev/sdl_atf/git/commits{/sha}","comments_url":"https://api.github.com/repos/AMikhniev/sdl_atf/comments{/number}","issue_comment_url":"https://api.github.com/repos/AMikhniev/sdl_atf/issues/comments{/number}","contents_url":"https://api.github.com/repos/AMikhniev/sdl_atf/contents/{+path}","compare_url":"https://api.github.com/repos/AMikhniev/sdl_atf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AMikhniev/sdl_atf/merges","archive_url":"https://api.github.com/repos/AMikhniev/sdl_atf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AMikhniev/sdl_atf/downloads","issues_url":"https://api.github.com/repos/AMikhniev/sdl_atf/issues{/number}","pulls_url":"https://api.github.com/repos/AMikhniev/sdl_atf/pulls{/number}","milestones_url":"https://api.github.com/repos/AMikhniev/sdl_atf/milestones{/number}","notifications_url":"https://api.github.com/repos/AMikhniev/sdl_atf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AMikhniev/sdl_atf/labels{/name}","releases_url":"https://api.github.com/repos/AMikhniev/sdl_atf/releases{/id}","deployments_url":"https://api.github.com/repos/AMikhniev/sdl_atf/deployments","created_at":"2016-03-10T09:33:59Z","updated_at":"2016-03-10T09:34:01Z","pushed_at":"2016-03-15T10:32:39Z","git_url":"git://github.com/AMikhniev/sdl_atf.git","ssh_url":"git@github.com:AMikhniev/sdl_atf.git","clone_url":"https://github.com/AMikhniev/sdl_atf.git","svn_url":"https://github.com/AMikhniev/sdl_atf","homepage":null,"size":598,"stargazers_count":0,"watchers_count":0,"language":"Lua","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":"smartdevicelink:develop","ref":"develop","sha":"f2d10ea741438b16e717122f4be277a1f8a3c6d1","user":{"login":"smartdevicelink","id":8671397,"avatar_url":"https://avatars.githubusercontent.com/u/8671397?v=3","gravatar_id":"","url":"https://api.github.com/users/smartdevicelink","html_url":"https://github.com/smartdevicelink","followers_url":"https://api.github.com/users/smartdevicelink/followers","following_url":"https://api.github.com/users/smartdevicelink/following{/other_user}","gists_url":"https://api.github.com/users/smartdevicelink/gists{/gist_id}","starred_url":"https://api.github.com/users/smartdevicelink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartdevicelink/subscriptions","organizations_url":"https://api.github.com/users/smartdevicelink/orgs","repos_url":"https://api.github.com/users/smartdevicelink/repos","events_url":"https://api.github.com/users/smartdevicelink/events{/privacy}","received_events_url":"https://api.github.com/users/smartdevicelink/received_events","type":"Organization","site_admin":false},"repo":{"id":52923610,"name":"sdl_atf","full_name":"smartdevicelink/sdl_atf","owner":{"login":"smartdevicelink","id":8671397,"avatar_url":"https://avatars.githubusercontent.com/u/8671397?v=3","gravatar_id":"","url":"https://api.github.com/users/smartdevicelink","html_url":"https://github.com/smartdevicelink","followers_url":"https://api.github.com/users/smartdevicelink/followers","following_url":"https://api.github.com/users/smartdevicelink/following{/other_user}","gists_url":"https://api.github.com/users/smartdevicelink/gists{/gist_id}","starred_url":"https://api.github.com/users/smartdevicelink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartdevicelink/subscriptions","organizations_url":"https://api.github.com/users/smartdevicelink/orgs","repos_url":"https://api.github.com/users/smartdevicelink/repos","events_url":"https://api.github.com/users/smartdevicelink/events{/privacy}","received_events_url":"https://api.github.com/users/smartdevicelink/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/smartdevicelink/sdl_atf","description":"Automated Tests for SmartDeviceLink","fork":false,"url":"https://api.github.com/repos/smartdevicelink/sdl_atf","forks_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/forks","keys_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/teams","hooks_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/hooks","issue_events_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/issues/events{/number}","events_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/events","assignees_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/assignees{/user}","branches_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/branches{/branch}","tags_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/tags","blobs_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/git/refs{/sha}","trees_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/statuses/{sha}","languages_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/languages","stargazers_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/stargazers","contributors_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/contributors","subscribers_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/subscribers","subscription_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/subscription","commits_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/commits{/sha}","git_commits_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/git/commits{/sha}","comments_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/comments{/number}","issue_comment_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/issues/comments{/number}","contents_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/contents/{+path}","compare_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/merges","archive_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/downloads","issues_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/issues{/number}","pulls_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/pulls{/number}","milestones_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/milestones{/number}","notifications_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/labels{/name}","releases_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/releases{/id}","deployments_url":"https://api.github.com/repos/smartdevicelink/sdl_atf/deployments","created_at":"2016-03-02T01:30:48Z","updated_at":"2016-03-09T19:27:11Z","pushed_at":"2016-03-15T15:17:48Z","git_url":"git://github.com/smartdevicelink/sdl_atf.git","ssh_url":"git@github.com:smartdevicelink/sdl_atf.git","clone_url":"https://github.com/smartdevicelink/sdl_atf.git","svn_url":"https://github.com/smartdevicelink/sdl_atf","homepage":null,"size":604,"stargazers_count":1,"watchers_count":1,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":6,"forks":3,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/smartdevicelink/sdl_atf/pulls/10"},"html":{"href":"https://github.com/smartdevicelink/sdl_atf/pull/10"},"issue":{"href":"https://api.github.com/repos/smartdevicelink/sdl_atf/issues/10"},"comments":{"href":"https://api.github.com/repos/smartdevicelink/sdl_atf/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/smartdevicelink/sdl_atf/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/smartdevicelink/sdl_atf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/smartdevicelink/sdl_atf/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/smartdevicelink/sdl_atf/statuses/d1b1353ea4ac214a64aa40477b68f8cd1f6910b2"}}}}