{"action":"created","comment":{"url":"https://api.github.com/repos/lihaoyi/fastparse/pulls/comments/59484559","id":59484559,"diff_hunk":"@@ -0,0 +1,332 @@\n+package cssparse\n+\n+import utest._\n+\n+object PrettyPrinterTests extends TestSuite {\n+  val tests = this {\n+    'basic {\n+      'test1 {\n+        val input =\n+          \"\"\"\n+            |\n+            |html {\n+            |  font-family: sans-serif;\n+            |  -webkit-text-size-adjust: 100%;\n+            |      -ms-text-size-adjust: 100%;\n+            |}\n+            |body {\n+            |  margin: 0;\n+            |}\n+            |article,\n+            |aside,\n+            |details,\n+            |figcaption,\n+            |figure,\n+            |footer,\n+            |header,\n+            |hgroup,\n+            |main,\n+            |menu,\n+            |nav,\n+            |section,\n+            |summary {\n+            |  display: block;\n+            |}\n+            |audio,\n+            |canvas,\n+            |progress,\n+            |video {\n+            |  display: inline-block;\n+            |  vertical-align: baseline;\n+            |}\n+            |audio:not([controls]) {\n+            |  display: none;\n+            |  height: 0;\n+            |}\n+            |[hidden],\n+            |template {\n+            |  display: none;\n+            |}\n+            |a {\n+            |  background-color: transparent;\n+            |}\n+            |a:active,\n+            |a:hover {\n+            |  outline: 0;\n+            |}\n+            |abbr[title] {\n+            |  border-bottom: 1px dotted;\n+            |}\n+            |b,\n+            |strong {\n+            |  font-weight: bold;\n+            |}\n+            |dfn {\n+            |  font-style: italic;\n+            |}\n+            |h1 {\n+            |  margin: .67em 0;\n+            |  font-size: 2em;\n+            |}\n+            |mark {\n+            |  color: #000;\n+            |  background: #ff0;\n+            |}\n+            |small {\n+            |  font-size: 80%;\n+            |}\n+            |input[type=\"checkbox\"],\n+            |input[type=\"radio\"] {\n+            |  -webkit-box-sizing: border-box;\n+            |     -moz-box-sizing: border-box;\n+            |          box-sizing: border-box;\n+            |  padding: 0;\n+            |}\n+            |input[type=\"number\"]::-webkit-inner-spin-button,\n+            |input[type=\"number\"]::-webkit-outer-spin-button {\n+            |  height: auto;\n+            |}\n+            |input[type=\"search\"] {\n+            |  -webkit-box-sizing: content-box;\n+            |     -moz-box-sizing: content-box;\n+            |          box-sizing: content-box;\n+            |  -webkit-appearance: textfield;\n+            |}\n+            |input[type=\"search\"]::-webkit-search-cancel-button,\n+            |input[type=\"search\"]::-webkit-search-decoration {\n+            |  -webkit-appearance: none;\n+            |}\n+            |@font-face {\n+            |  font-family: 'Glyphicons Halflings';\n+            |\n+            |  src: url('../fonts/glyphicons-halflings-regular.eot');\n+            |  src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');\n+            |}\n+            |\n+            |h4 small,\n+            |.h4 small,\n+            |h5 small,\n+            |.h5 small,\n+            |h6 small,\n+            |.h6 small,\n+            |h4 .small,\n+            |.h4 .small,\n+            |h5 .small,\n+            |.h5 .small,\n+            |h6 .small,\n+            |.h6 .small {\n+            |  font-size: 75%;\n+            |}\n+            |@media (min-width: 768px) {\n+            |  .lead {\n+            |    font-size: 21px;\n+            |  }\n+            |}\n+            |@media screen and (max-width: 767px) {\n+            |  .table-responsive {\n+            |    width: 100%;\n+            |    margin-bottom: 15px;\n+            |    overflow-y: hidden;\n+            |    -ms-overflow-style: -ms-autohiding-scrollbar;\n+            |    border: 1px solid #ddd;\n+            |  }\n+            |  .table-responsive > .table {\n+            |    margin-bottom: 0;\n+            |  }\n+            |  .table-responsive > .table > thead > tr > th,\n+            |  .table-responsive > .table > tbody > tr > th,\n+            |  .table-responsive > .table > tfoot > tr > th,\n+            |  .table-responsive > .table > thead > tr > td,\n+            |  .table-responsive > .table > tbody > tr > td,\n+            |  .table-responsive > .table > tfoot > tr > td {\n+            |    white-space: nowrap;\n+            |  }\n+            |  .table-responsive > .table-bordered {\n+            |    border: 0;\n+            |  }\n+            |  .table-responsive > .table-bordered > thead > tr > th:first-child,\n+            |  .table-responsive > .table-bordered > tbody > tr > th:first-child,\n+            |  .table-responsive > .table-bordered > tfoot > tr > th:first-child,\n+            |  .table-responsive > .table-bordered > thead > tr > td:first-child,\n+            |  .table-responsive > .table-bordered > tbody > tr > td:first-child,\n+            |  .table-responsive > .table-bordered > tfoot > tr > td:first-child {\n+            |    border-left: 0;\n+            |  }\n+            |  .table-responsive > .table-bordered > thead > tr > th:last-child,\n+            |  .table-responsive > .table-bordered > tbody > tr > th:last-child,\n+            |  .table-responsive > .table-bordered > tfoot > tr > th:last-child,\n+            |  .table-responsive > .table-bordered > thead > tr > td:last-child,\n+            |  .table-responsive > .table-bordered > tbody > tr > td:last-child,\n+            |  .table-responsive > .table-bordered > tfoot > tr > td:last-child {\n+            |    border-right: 0;\n+            |  }\n+            |  .table-responsive > .table-bordered > tbody > tr:last-child > th,\n+            |  .table-responsive > .table-bordered > tfoot > tr:last-child > th,\n+            |  .table-responsive > .table-bordered > tbody > tr:last-child > td,\n+            |  .table-responsive > .table-bordered > tfoot > tr:last-child > td {\n+            |    border-bottom: 0;\n+            |  }\n+            |}\n+            |\n+            |@-o-keyframes progress-bar-stripes {\n+            |  from {\n+            |    background-position: 40px 0;\n+            |  }\n+            |  to {\n+            |    background-position: 0 0;\n+            |  }\n+            |}\n+          \"\"\".stripMargin\n+\n+        val output =\n+          \"\"\"\n+            |html{\n+            |  font-family : sans-serif ;\n+            |  -webkit-text-size-adjust : 100% ;\n+            |  -ms-text-size-adjust : 100% ;\n+            |}\n+            |\n+            |body{\n+            |  margin : 0 ;\n+            |}\n+            |\n+            |article , aside , details , figcaption , figure , footer , header , hgroup , main , menu , nav , section , summary{\n+            |  display : block ;","path":"cssparse/shared/src/test/scala/cssparse/PrettyPrinterTests.scala","position":194,"original_position":194,"commit_id":"613a4e2a3e3350e08fca2d8b6fa6b5986d25fc0e","original_commit_id":"613a4e2a3e3350e08fca2d8b6fa6b5986d25fc0e","user":{"login":"lihaoyi","id":934140,"avatar_url":"https://avatars.githubusercontent.com/u/934140?v=3","gravatar_id":"","url":"https://api.github.com/users/lihaoyi","html_url":"https://github.com/lihaoyi","followers_url":"https://api.github.com/users/lihaoyi/followers","following_url":"https://api.github.com/users/lihaoyi/following{/other_user}","gists_url":"https://api.github.com/users/lihaoyi/gists{/gist_id}","starred_url":"https://api.github.com/users/lihaoyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lihaoyi/subscriptions","organizations_url":"https://api.github.com/users/lihaoyi/orgs","repos_url":"https://api.github.com/users/lihaoyi/repos","events_url":"https://api.github.com/users/lihaoyi/events{/privacy}","received_events_url":"https://api.github.com/users/lihaoyi/received_events","type":"User","site_admin":false},"body":"Could you tweak the pretty-printer to have no space before each `,`, `:` or `;`?\r\n","created_at":"2016-04-13T02:22:32Z","updated_at":"2016-04-13T02:22:32Z","html_url":"https://github.com/lihaoyi/fastparse/pull/84#discussion_r59484559","pull_request_url":"https://api.github.com/repos/lihaoyi/fastparse/pulls/84","_links":{"self":{"href":"https://api.github.com/repos/lihaoyi/fastparse/pulls/comments/59484559"},"html":{"href":"https://github.com/lihaoyi/fastparse/pull/84#discussion_r59484559"},"pull_request":{"href":"https://api.github.com/repos/lihaoyi/fastparse/pulls/84"}}},"pull_request":{"url":"https://api.github.com/repos/lihaoyi/fastparse/pulls/84","id":65990360,"html_url":"https://github.com/lihaoyi/fastparse/pull/84","diff_url":"https://github.com/lihaoyi/fastparse/pull/84.diff","patch_url":"https://github.com/lihaoyi/fastparse/pull/84.patch","issue_url":"https://api.github.com/repos/lihaoyi/fastparse/issues/84","number":84,"state":"open","locked":false,"title":"Added cssparse module","user":{"login":"vovapolu","id":4629312,"avatar_url":"https://avatars.githubusercontent.com/u/4629312?v=3","gravatar_id":"","url":"https://api.github.com/users/vovapolu","html_url":"https://github.com/vovapolu","followers_url":"https://api.github.com/users/vovapolu/followers","following_url":"https://api.github.com/users/vovapolu/following{/other_user}","gists_url":"https://api.github.com/users/vovapolu/gists{/gist_id}","starred_url":"https://api.github.com/users/vovapolu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovapolu/subscriptions","organizations_url":"https://api.github.com/users/vovapolu/orgs","repos_url":"https://api.github.com/users/vovapolu/repos","events_url":"https://api.github.com/users/vovapolu/events{/privacy}","received_events_url":"https://api.github.com/users/vovapolu/received_events","type":"User","site_admin":false},"body":"Moved https://github.com/vovapolu/CssParser here","created_at":"2016-04-11T13:08:03Z","updated_at":"2016-04-13T02:22:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ecbe06113093abba186be6f91e7a566d55f46844","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lihaoyi/fastparse/pulls/84/commits","review_comments_url":"https://api.github.com/repos/lihaoyi/fastparse/pulls/84/comments","review_comment_url":"https://api.github.com/repos/lihaoyi/fastparse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lihaoyi/fastparse/issues/84/comments","statuses_url":"https://api.github.com/repos/lihaoyi/fastparse/statuses/613a4e2a3e3350e08fca2d8b6fa6b5986d25fc0e","head":{"label":"vovapolu:master","ref":"master","sha":"613a4e2a3e3350e08fca2d8b6fa6b5986d25fc0e","user":{"login":"vovapolu","id":4629312,"avatar_url":"https://avatars.githubusercontent.com/u/4629312?v=3","gravatar_id":"","url":"https://api.github.com/users/vovapolu","html_url":"https://github.com/vovapolu","followers_url":"https://api.github.com/users/vovapolu/followers","following_url":"https://api.github.com/users/vovapolu/following{/other_user}","gists_url":"https://api.github.com/users/vovapolu/gists{/gist_id}","starred_url":"https://api.github.com/users/vovapolu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovapolu/subscriptions","organizations_url":"https://api.github.com/users/vovapolu/orgs","repos_url":"https://api.github.com/users/vovapolu/repos","events_url":"https://api.github.com/users/vovapolu/events{/privacy}","received_events_url":"https://api.github.com/users/vovapolu/received_events","type":"User","site_admin":false},"repo":{"id":55968897,"name":"fastparse","full_name":"vovapolu/fastparse","owner":{"login":"vovapolu","id":4629312,"avatar_url":"https://avatars.githubusercontent.com/u/4629312?v=3","gravatar_id":"","url":"https://api.github.com/users/vovapolu","html_url":"https://github.com/vovapolu","followers_url":"https://api.github.com/users/vovapolu/followers","following_url":"https://api.github.com/users/vovapolu/following{/other_user}","gists_url":"https://api.github.com/users/vovapolu/gists{/gist_id}","starred_url":"https://api.github.com/users/vovapolu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovapolu/subscriptions","organizations_url":"https://api.github.com/users/vovapolu/orgs","repos_url":"https://api.github.com/users/vovapolu/repos","events_url":"https://api.github.com/users/vovapolu/events{/privacy}","received_events_url":"https://api.github.com/users/vovapolu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vovapolu/fastparse","description":"Writing Fast Parsers Fast in Scala","fork":true,"url":"https://api.github.com/repos/vovapolu/fastparse","forks_url":"https://api.github.com/repos/vovapolu/fastparse/forks","keys_url":"https://api.github.com/repos/vovapolu/fastparse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vovapolu/fastparse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vovapolu/fastparse/teams","hooks_url":"https://api.github.com/repos/vovapolu/fastparse/hooks","issue_events_url":"https://api.github.com/repos/vovapolu/fastparse/issues/events{/number}","events_url":"https://api.github.com/repos/vovapolu/fastparse/events","assignees_url":"https://api.github.com/repos/vovapolu/fastparse/assignees{/user}","branches_url":"https://api.github.com/repos/vovapolu/fastparse/branches{/branch}","tags_url":"https://api.github.com/repos/vovapolu/fastparse/tags","blobs_url":"https://api.github.com/repos/vovapolu/fastparse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vovapolu/fastparse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vovapolu/fastparse/git/refs{/sha}","trees_url":"https://api.github.com/repos/vovapolu/fastparse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vovapolu/fastparse/statuses/{sha}","languages_url":"https://api.github.com/repos/vovapolu/fastparse/languages","stargazers_url":"https://api.github.com/repos/vovapolu/fastparse/stargazers","contributors_url":"https://api.github.com/repos/vovapolu/fastparse/contributors","subscribers_url":"https://api.github.com/repos/vovapolu/fastparse/subscribers","subscription_url":"https://api.github.com/repos/vovapolu/fastparse/subscription","commits_url":"https://api.github.com/repos/vovapolu/fastparse/commits{/sha}","git_commits_url":"https://api.github.com/repos/vovapolu/fastparse/git/commits{/sha}","comments_url":"https://api.github.com/repos/vovapolu/fastparse/comments{/number}","issue_comment_url":"https://api.github.com/repos/vovapolu/fastparse/issues/comments{/number}","contents_url":"https://api.github.com/repos/vovapolu/fastparse/contents/{+path}","compare_url":"https://api.github.com/repos/vovapolu/fastparse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vovapolu/fastparse/merges","archive_url":"https://api.github.com/repos/vovapolu/fastparse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vovapolu/fastparse/downloads","issues_url":"https://api.github.com/repos/vovapolu/fastparse/issues{/number}","pulls_url":"https://api.github.com/repos/vovapolu/fastparse/pulls{/number}","milestones_url":"https://api.github.com/repos/vovapolu/fastparse/milestones{/number}","notifications_url":"https://api.github.com/repos/vovapolu/fastparse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vovapolu/fastparse/labels{/name}","releases_url":"https://api.github.com/repos/vovapolu/fastparse/releases{/id}","deployments_url":"https://api.github.com/repos/vovapolu/fastparse/deployments","created_at":"2016-04-11T12:07:16Z","updated_at":"2016-04-11T12:07:18Z","pushed_at":"2016-04-11T13:04:53Z","git_url":"git://github.com/vovapolu/fastparse.git","ssh_url":"git@github.com:vovapolu/fastparse.git","clone_url":"https://github.com/vovapolu/fastparse.git","svn_url":"https://github.com/vovapolu/fastparse","homepage":"","size":4167,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"lihaoyi:master","ref":"master","sha":"b445fb5c7003983cec379a4a3b452a9adc3066eb","user":{"login":"lihaoyi","id":934140,"avatar_url":"https://avatars.githubusercontent.com/u/934140?v=3","gravatar_id":"","url":"https://api.github.com/users/lihaoyi","html_url":"https://github.com/lihaoyi","followers_url":"https://api.github.com/users/lihaoyi/followers","following_url":"https://api.github.com/users/lihaoyi/following{/other_user}","gists_url":"https://api.github.com/users/lihaoyi/gists{/gist_id}","starred_url":"https://api.github.com/users/lihaoyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lihaoyi/subscriptions","organizations_url":"https://api.github.com/users/lihaoyi/orgs","repos_url":"https://api.github.com/users/lihaoyi/repos","events_url":"https://api.github.com/users/lihaoyi/events{/privacy}","received_events_url":"https://api.github.com/users/lihaoyi/received_events","type":"User","site_admin":false},"repo":{"id":27296168,"name":"fastparse","full_name":"lihaoyi/fastparse","owner":{"login":"lihaoyi","id":934140,"avatar_url":"https://avatars.githubusercontent.com/u/934140?v=3","gravatar_id":"","url":"https://api.github.com/users/lihaoyi","html_url":"https://github.com/lihaoyi","followers_url":"https://api.github.com/users/lihaoyi/followers","following_url":"https://api.github.com/users/lihaoyi/following{/other_user}","gists_url":"https://api.github.com/users/lihaoyi/gists{/gist_id}","starred_url":"https://api.github.com/users/lihaoyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lihaoyi/subscriptions","organizations_url":"https://api.github.com/users/lihaoyi/orgs","repos_url":"https://api.github.com/users/lihaoyi/repos","events_url":"https://api.github.com/users/lihaoyi/events{/privacy}","received_events_url":"https://api.github.com/users/lihaoyi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lihaoyi/fastparse","description":"Writing Fast Parsers Fast in Scala","fork":false,"url":"https://api.github.com/repos/lihaoyi/fastparse","forks_url":"https://api.github.com/repos/lihaoyi/fastparse/forks","keys_url":"https://api.github.com/repos/lihaoyi/fastparse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lihaoyi/fastparse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lihaoyi/fastparse/teams","hooks_url":"https://api.github.com/repos/lihaoyi/fastparse/hooks","issue_events_url":"https://api.github.com/repos/lihaoyi/fastparse/issues/events{/number}","events_url":"https://api.github.com/repos/lihaoyi/fastparse/events","assignees_url":"https://api.github.com/repos/lihaoyi/fastparse/assignees{/user}","branches_url":"https://api.github.com/repos/lihaoyi/fastparse/branches{/branch}","tags_url":"https://api.github.com/repos/lihaoyi/fastparse/tags","blobs_url":"https://api.github.com/repos/lihaoyi/fastparse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lihaoyi/fastparse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lihaoyi/fastparse/git/refs{/sha}","trees_url":"https://api.github.com/repos/lihaoyi/fastparse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lihaoyi/fastparse/statuses/{sha}","languages_url":"https://api.github.com/repos/lihaoyi/fastparse/languages","stargazers_url":"https://api.github.com/repos/lihaoyi/fastparse/stargazers","contributors_url":"https://api.github.com/repos/lihaoyi/fastparse/contributors","subscribers_url":"https://api.github.com/repos/lihaoyi/fastparse/subscribers","subscription_url":"https://api.github.com/repos/lihaoyi/fastparse/subscription","commits_url":"https://api.github.com/repos/lihaoyi/fastparse/commits{/sha}","git_commits_url":"https://api.github.com/repos/lihaoyi/fastparse/git/commits{/sha}","comments_url":"https://api.github.com/repos/lihaoyi/fastparse/comments{/number}","issue_comment_url":"https://api.github.com/repos/lihaoyi/fastparse/issues/comments{/number}","contents_url":"https://api.github.com/repos/lihaoyi/fastparse/contents/{+path}","compare_url":"https://api.github.com/repos/lihaoyi/fastparse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lihaoyi/fastparse/merges","archive_url":"https://api.github.com/repos/lihaoyi/fastparse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lihaoyi/fastparse/downloads","issues_url":"https://api.github.com/repos/lihaoyi/fastparse/issues{/number}","pulls_url":"https://api.github.com/repos/lihaoyi/fastparse/pulls{/number}","milestones_url":"https://api.github.com/repos/lihaoyi/fastparse/milestones{/number}","notifications_url":"https://api.github.com/repos/lihaoyi/fastparse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lihaoyi/fastparse/labels{/name}","releases_url":"https://api.github.com/repos/lihaoyi/fastparse/releases{/id}","deployments_url":"https://api.github.com/repos/lihaoyi/fastparse/deployments","created_at":"2014-11-29T08:35:28Z","updated_at":"2016-04-12T01:59:18Z","pushed_at":"2016-04-11T13:08:03Z","git_url":"git://github.com/lihaoyi/fastparse.git","ssh_url":"git@github.com:lihaoyi/fastparse.git","clone_url":"https://github.com/lihaoyi/fastparse.git","svn_url":"https://github.com/lihaoyi/fastparse","homepage":"","size":4177,"stargazers_count":338,"watchers_count":338,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":52,"mirror_url":null,"open_issues_count":15,"forks":52,"open_issues":15,"watchers":338,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lihaoyi/fastparse/pulls/84"},"html":{"href":"https://github.com/lihaoyi/fastparse/pull/84"},"issue":{"href":"https://api.github.com/repos/lihaoyi/fastparse/issues/84"},"comments":{"href":"https://api.github.com/repos/lihaoyi/fastparse/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/lihaoyi/fastparse/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/lihaoyi/fastparse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lihaoyi/fastparse/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/lihaoyi/fastparse/statuses/613a4e2a3e3350e08fca2d8b6fa6b5986d25fc0e"}}}}