Skip to content

Commit

Permalink
Bump core version (#34848)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLove-msft authored Mar 10, 2023
1 parent c551a51 commit 3e4ecf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion eng/Packages.Data.props
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<!-- Azure SDK packages -->
<PackageReference Update="Azure.Communication.Identity" Version="1.2.0" />
<PackageReference Update="Azure.Communication.Common" Version="1.2.1" />
<PackageReference Update="Azure.Core" Version="1.29.0" />
<PackageReference Update="Azure.Core" Version="1.30.0" />
<PackageReference Update="Azure.Core.Amqp" Version="1.3.0" />
<PackageReference Update="Azure.Core.Experimental" Version="0.1.0-preview.25" />
<PackageReference Update="Azure.Data.SchemaRegistry" Version="1.2.0" />
Expand Down
10 changes: 2 additions & 8 deletions sdk/core/Azure.Core/tests/ArrayBackedPropertyBagTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,8 @@ public void Dispose(int count)
}

target.Dispose();
#if DEBUG
Assert.Throws<ObjectDisposedException>(() => { _ = target.Count; });
Assert.Throws<ObjectDisposedException>(() => { _ = target.IsEmpty; });
for (var key = 0; key < count; key++)
{
Assert.Throws<ObjectDisposedException>(() => { _ = target.TryGetValue(key, out _); });
}
#else

#if !DEBUG
Assert.IsTrue(target.IsEmpty);
Assert.AreEqual(0, target.Count);
for (var key = 0; key < count; key++)
Expand Down

0 comments on commit 3e4ecf9

Please sign in to comment.