Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-Sindo committed Oct 18, 2023
1 parent 8a3427f commit dcc4cef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void Constructor_ThrowsInvalidOperationException_WhenRetryModeIsNotExpone
});

// Act & Assert
Assert.Throws<InvalidOperationException>(() => new ExponentialBackOffPolicy(options));
Assert.Throws<ArgumentException>(() => new ExponentialBackOffPolicy(options));
}

[Fact]
Expand All @@ -67,6 +67,6 @@ public void Constructor_ThrowsInvalidOperationException_WhenRetryOptionsIsNull()
var options = Options.Create(new ServiceManagerOptions());

// Act & Assert
Assert.Throws<InvalidOperationException>(() => new ExponentialBackOffPolicy(options));
Assert.Throws<ArgumentException>(() => new ExponentialBackOffPolicy(options));
}
}

0 comments on commit dcc4cef

Please sign in to comment.