Remove use of "async" (future C# keyword)

Work Item: 16709

--HG--
branch : dev
This commit is contained in:
Renaud Paquay
2010-12-02 20:32:13 -08:00
parent cc44d1d7dd
commit 37c133af48

View File

@@ -101,13 +101,13 @@ namespace Orchard.Tests.Mvc {
}); });
Assert.That(where, Is.EqualTo("init")); Assert.That(where, Is.EqualTo("init"));
var async = action.BeginInvoke(null, null); var asyncResult = action.BeginInvoke(null, null);
Thread.Sleep(75); Thread.Sleep(75);
Assert.That(where, Is.EqualTo("before")); Assert.That(where, Is.EqualTo("before"));
readLock.Dispose(); readLock.Dispose();
Thread.Sleep(75); Thread.Sleep(75);
Assert.That(where, Is.EqualTo("after")); Assert.That(where, Is.EqualTo("after"));
action.EndInvoke(async); action.EndInvoke(asyncResult);
} }
} }
} }