{"action":"created","comment":{"url":"https://api.github.com/repos/ClosedXML/ClosedXML/pulls/comments/172479574","pull_request_review_id":101499386,"id":172479574,"diff_hunk":"@@ -1,15 +1,28 @@\n using ClosedXML.Excel;\n using NUnit.Framework;\n+using System;\n+using System.Collections.Generic;\n using System.Globalization;\n using System.IO;\n using System.Linq;\n using System.Threading;\n+using System.Threading.Tasks;\n \n namespace ClosedXML_Tests.Excel.Saving\n {\n     [TestFixture]\n     public class SavingTests\n     {\n+        private string _tempFolder;\n+        private List<string> _tempFiles;\n+\n+        [SetUp]\n+        public void Setup()","path":"ClosedXML_Tests/Excel/Saving/SavingTests.cs","position":20,"original_position":20,"commit_id":"c46379d531f0bc4d5feb92db18bd38f1824ed8c7","original_commit_id":"c46379d531f0bc4d5feb92db18bd38f1824ed8c7","user":{"login":"igitur","id":145854,"avatar_url":"https://avatars1.githubusercontent.com/u/145854?v=4","gravatar_id":"","url":"https://api.github.com/users/igitur","html_url":"https://github.com/igitur","followers_url":"https://api.github.com/users/igitur/followers","following_url":"https://api.github.com/users/igitur/following{/other_user}","gists_url":"https://api.github.com/users/igitur/gists{/gist_id}","starred_url":"https://api.github.com/users/igitur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igitur/subscriptions","organizations_url":"https://api.github.com/users/igitur/orgs","repos_url":"https://api.github.com/users/igitur/repos","events_url":"https://api.github.com/users/igitur/events{/privacy}","received_events_url":"https://api.github.com/users/igitur/received_events","type":"User","site_admin":false},"body":"I missed this. Can you check whether you can rather use the `using (var tf = new TemporaryFile(...))` pattern as in `OleDbTests`. Using that pattern would clean up any test files automatically.","created_at":"2018-03-06T10:56:33Z","updated_at":"2018-03-06T10:56:33Z","html_url":"https://github.com/ClosedXML/ClosedXML/pull/641#discussion_r172479574","pull_request_url":"https://api.github.com/repos/ClosedXML/ClosedXML/pulls/641","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ClosedXML/ClosedXML/pulls/comments/172479574"},"html":{"href":"https://github.com/ClosedXML/ClosedXML/pull/641#discussion_r172479574"},"pull_request":{"href":"https://api.github.com/repos/ClosedXML/ClosedXML/pulls/641"}}},"pull_request":{"url":"https://api.github.com/repos/ClosedXML/ClosedXML/pulls/641","id":161488975,"html_url":"https://github.com/ClosedXML/ClosedXML/pull/641","diff_url":"https://github.com/ClosedXML/ClosedXML/pull/641.diff","patch_url":"https://github.com/ClosedXML/ClosedXML/pull/641.patch","issue_url":"https://api.github.com/repos/ClosedXML/ClosedXML/issues/641","number":641,"state":"closed","locked":false,"title":"Fix. Failed to \"SaveAs\" a file with a ReadOnly attribute","user":{"login":"Pankraty","id":19576939,"avatar_url":"https://avatars0.githubusercontent.com/u/19576939?v=4","gravatar_id":"","url":"https://api.github.com/users/Pankraty","html_url":"https://github.com/Pankraty","followers_url":"https://api.github.com/users/Pankraty/followers","following_url":"https://api.github.com/users/Pankraty/following{/other_user}","gists_url":"https://api.github.com/users/Pankraty/gists{/gist_id}","starred_url":"https://api.github.com/users/Pankraty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pankraty/subscriptions","organizations_url":"https://api.github.com/users/Pankraty/orgs","repos_url":"https://api.github.com/users/Pankraty/repos","events_url":"https://api.github.com/users/Pankraty/events{/privacy}","received_events_url":"https://api.github.com/users/Pankraty/received_events","type":"User","site_admin":false},"body":"#### Fixes #640\r\n- [ ] C# Code Review: @csreviewer\r\n- [ ] Test Automation Review: @csreviewer","created_at":"2018-01-06T17:52:05Z","updated_at":"2018-03-06T10:56:33Z","closed_at":"2018-01-07T17:06:00Z","merged_at":"2018-01-07T17:06:00Z","merge_commit_sha":"72a3d62003a51844a7d13b7a191615eb6e0f1d9e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":431948559,"url":"https://api.github.com/repos/ClosedXML/ClosedXML/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":{"url":"https://api.github.com/repos/ClosedXML/ClosedXML/milestones/5","html_url":"https://github.com/ClosedXML/ClosedXML/milestone/5","labels_url":"https://api.github.com/repos/ClosedXML/ClosedXML/milestones/5/labels","id":2787933,"number":5,"title":"v0.91","description":"","creator":{"login":"igitur","id":145854,"avatar_url":"https://avatars1.githubusercontent.com/u/145854?v=4","gravatar_id":"","url":"https://api.github.com/users/igitur","html_url":"https://github.com/igitur","followers_url":"https://api.github.com/users/igitur/followers","following_url":"https://api.github.com/users/igitur/following{/other_user}","gists_url":"https://api.github.com/users/igitur/gists{/gist_id}","starred_url":"https://api.github.com/users/igitur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igitur/subscriptions","organizations_url":"https://api.github.com/users/igitur/orgs","repos_url":"https://api.github.com/users/igitur/repos","events_url":"https://api.github.com/users/igitur/events{/privacy}","received_events_url":"https://api.github.com/users/igitur/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":52,"state":"closed","created_at":"2017-09-24T21:19:41Z","updated_at":"2018-01-31T08:04:06Z","due_on":null,"closed_at":"2018-01-31T08:04:06Z"},"commits_url":"https://api.github.com/repos/ClosedXML/ClosedXML/pulls/641/commits","review_comments_url":"https://api.github.com/repos/ClosedXML/ClosedXML/pulls/641/comments","review_comment_url":"https://api.github.com/repos/ClosedXML/ClosedXML/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ClosedXML/ClosedXML/issues/641/comments","statuses_url":"https://api.github.com/repos/ClosedXML/ClosedXML/statuses/c46379d531f0bc4d5feb92db18bd38f1824ed8c7","head":{"label":"Pankraty:develop","ref":"develop","sha":"c46379d531f0bc4d5feb92db18bd38f1824ed8c7","user":{"login":"Pankraty","id":19576939,"avatar_url":"https://avatars0.githubusercontent.com/u/19576939?v=4","gravatar_id":"","url":"https://api.github.com/users/Pankraty","html_url":"https://github.com/Pankraty","followers_url":"https://api.github.com/users/Pankraty/followers","following_url":"https://api.github.com/users/Pankraty/following{/other_user}","gists_url":"https://api.github.com/users/Pankraty/gists{/gist_id}","starred_url":"https://api.github.com/users/Pankraty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pankraty/subscriptions","organizations_url":"https://api.github.com/users/Pankraty/orgs","repos_url":"https://api.github.com/users/Pankraty/repos","events_url":"https://api.github.com/users/Pankraty/events{/privacy}","received_events_url":"https://api.github.com/users/Pankraty/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"ClosedXML:develop","ref":"develop","sha":"643569732374b37021ed18f962193ed5808ba106","user":{"login":"ClosedXML","id":21276615,"avatar_url":"https://avatars3.githubusercontent.com/u/21276615?v=4","gravatar_id":"","url":"https://api.github.com/users/ClosedXML","html_url":"https://github.com/ClosedXML","followers_url":"https://api.github.com/users/ClosedXML/followers","following_url":"https://api.github.com/users/ClosedXML/following{/other_user}","gists_url":"https://api.github.com/users/ClosedXML/gists{/gist_id}","starred_url":"https://api.github.com/users/ClosedXML/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClosedXML/subscriptions","organizations_url":"https://api.github.com/users/ClosedXML/orgs","repos_url":"https://api.github.com/users/ClosedXML/repos","events_url":"https://api.github.com/users/ClosedXML/events{/privacy}","received_events_url":"https://api.github.com/users/ClosedXML/received_events","type":"Organization","site_admin":false},"repo":{"id":66709088,"name":"ClosedXML","full_name":"ClosedXML/ClosedXML","owner":{"login":"ClosedXML","id":21276615,"avatar_url":"https://avatars3.githubusercontent.com/u/21276615?v=4","gravatar_id":"","url":"https://api.github.com/users/ClosedXML","html_url":"https://github.com/ClosedXML","followers_url":"https://api.github.com/users/ClosedXML/followers","following_url":"https://api.github.com/users/ClosedXML/following{/other_user}","gists_url":"https://api.github.com/users/ClosedXML/gists{/gist_id}","starred_url":"https://api.github.com/users/ClosedXML/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClosedXML/subscriptions","organizations_url":"https://api.github.com/users/ClosedXML/orgs","repos_url":"https://api.github.com/users/ClosedXML/repos","events_url":"https://api.github.com/users/ClosedXML/events{/privacy}","received_events_url":"https://api.github.com/users/ClosedXML/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ClosedXML/ClosedXML","description":"ClosedXML makes it easier for developers to create Excel 2007+ (.xlsx, .xlsm, etc) files. It provides a nice object oriented way to manipulate the files (similar to VBA) without dealing with the hassles of XML Documents. It can be used by any .NET language like C# and VisualBasic.NET.","fork":false,"url":"https://api.github.com/repos/ClosedXML/ClosedXML","forks_url":"https://api.github.com/repos/ClosedXML/ClosedXML/forks","keys_url":"https://api.github.com/repos/ClosedXML/ClosedXML/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ClosedXML/ClosedXML/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ClosedXML/ClosedXML/teams","hooks_url":"https://api.github.com/repos/ClosedXML/ClosedXML/hooks","issue_events_url":"https://api.github.com/repos/ClosedXML/ClosedXML/issues/events{/number}","events_url":"https://api.github.com/repos/ClosedXML/ClosedXML/events","assignees_url":"https://api.github.com/repos/ClosedXML/ClosedXML/assignees{/user}","branches_url":"https://api.github.com/repos/ClosedXML/ClosedXML/branches{/branch}","tags_url":"https://api.github.com/repos/ClosedXML/ClosedXML/tags","blobs_url":"https://api.github.com/repos/ClosedXML/ClosedXML/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ClosedXML/ClosedXML/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ClosedXML/ClosedXML/git/refs{/sha}","trees_url":"https://api.github.com/repos/ClosedXML/ClosedXML/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ClosedXML/ClosedXML/statuses/{sha}","languages_url":"https://api.github.com/repos/ClosedXML/ClosedXML/languages","stargazers_url":"https://api.github.com/repos/ClosedXML/ClosedXML/stargazers","contributors_url":"https://api.github.com/repos/ClosedXML/ClosedXML/contributors","subscribers_url":"https://api.github.com/repos/ClosedXML/ClosedXML/subscribers","subscription_url":"https://api.github.com/repos/ClosedXML/ClosedXML/subscription","commits_url":"https://api.github.com/repos/ClosedXML/ClosedXML/commits{/sha}","git_commits_url":"https://api.github.com/repos/ClosedXML/ClosedXML/git/commits{/sha}","comments_url":"https://api.github.com/repos/ClosedXML/ClosedXML/comments{/number}","issue_comment_url":"https://api.github.com/repos/ClosedXML/ClosedXML/issues/comments{/number}","contents_url":"https://api.github.com/repos/ClosedXML/ClosedXML/contents/{+path}","compare_url":"https://api.github.com/repos/ClosedXML/ClosedXML/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ClosedXML/ClosedXML/merges","archive_url":"https://api.github.com/repos/ClosedXML/ClosedXML/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ClosedXML/ClosedXML/downloads","issues_url":"https://api.github.com/repos/ClosedXML/ClosedXML/issues{/number}","pulls_url":"https://api.github.com/repos/ClosedXML/ClosedXML/pulls{/number}","milestones_url":"https://api.github.com/repos/ClosedXML/ClosedXML/milestones{/number}","notifications_url":"https://api.github.com/repos/ClosedXML/ClosedXML/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ClosedXML/ClosedXML/labels{/name}","releases_url":"https://api.github.com/repos/ClosedXML/ClosedXML/releases{/id}","deployments_url":"https://api.github.com/repos/ClosedXML/ClosedXML/deployments","created_at":"2016-08-27T10:28:44Z","updated_at":"2018-03-06T10:48:25Z","pushed_at":"2018-03-05T18:29:25Z","git_url":"git://github.com/ClosedXML/ClosedXML.git","ssh_url":"git@github.com:ClosedXML/ClosedXML.git","clone_url":"https://github.com/ClosedXML/ClosedXML.git","svn_url":"https://github.com/ClosedXML/ClosedXML","homepage":"","size":53679,"stargazers_count":699,"watchers_count":699,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":199,"mirror_url":null,"archived":false,"open_issues_count":101,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":199,"open_issues":101,"watchers":699,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ClosedXML/ClosedXML/pulls/641"},"html":{"href":"https://github.com/ClosedXML/ClosedXML/pull/641"},"issue":{"href":"https://api.github.com/repos/ClosedXML/ClosedXML/issues/641"},"comments":{"href":"https://api.github.com/repos/ClosedXML/ClosedXML/issues/641/comments"},"review_comments":{"href":"https://api.github.com/repos/ClosedXML/ClosedXML/pulls/641/comments"},"review_comment":{"href":"https://api.github.com/repos/ClosedXML/ClosedXML/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ClosedXML/ClosedXML/pulls/641/commits"},"statuses":{"href":"https://api.github.com/repos/ClosedXML/ClosedXML/statuses/c46379d531f0bc4d5feb92db18bd38f1824ed8c7"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"igitur"}}