You've already forked linux-packaging-mono
Imported Upstream version 3.12.0
Former-commit-id: cf92446697332992ec36726e78eb8703e1f259d7
This commit is contained in:
@ -26,11 +26,13 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.IO.Packaging;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace System.IO.Packaging.Tests {
|
||||
namespace MonoTests.System.IO.Packaging {
|
||||
|
||||
[TestFixture]
|
||||
public class PackageTest : TestBase {
|
||||
@ -411,8 +413,8 @@ namespace System.IO.Packaging.Tests {
|
||||
[ExpectedException (typeof (FileFormatException))]
|
||||
public void WriteOnlyAccessExists ()
|
||||
{
|
||||
System.IO.File.Create (path).Close ();
|
||||
File.Create (path).Close ();
|
||||
package = Package.Open (path, FileMode.OpenOrCreate, FileAccess.Write);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user