Skip to content

Commit 9a0482e

Browse files
committed
remove some redundant comments
1 parent b16fb58 commit 9a0482e

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/builtins/compiled/duration/tests.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -762,19 +762,6 @@ fn balance_subseconds() {
762762
// balances-days-up-to-both-years-and-months.js
763763
#[test]
764764
fn balance_days_up_to_both_years_and_months() {
765-
// const twoYears = new Temporal.Duration(0, 11, 0, 396, 0, 0, 0, 0, 0, 0);
766-
// assert.sameValue(twoYears.total({
767-
// unit: "years",
768-
// relativeTo: new Temporal.PlainDate(2017, 1, 1)
769-
// }), 2);
770-
//
771-
// // (Negative)
772-
// const twoYearsNegative = new Temporal.Duration(0, -11, 0, -396, 0, 0, 0, 0, 0, 0);
773-
// assert.sameValue(twoYearsNegative.total({
774-
// unit: "years",
775-
// relativeTo: new Temporal.PlainDate(2017, 1, 1)
776-
// }), -2);
777-
778765
// Test positive
779766
let two_years = Duration::from_partial_duration(PartialDuration {
780767
months: Some(FiniteF64::from(11)),
@@ -796,7 +783,6 @@ fn balance_days_up_to_both_years_and_months() {
796783
);
797784

798785
// Test negative
799-
800786
let two_years_negative = Duration::from_partial_duration(PartialDuration {
801787
months: Some(FiniteF64::from(-11)),
802788
days: Some(FiniteF64::from(-396)),

0 commit comments

Comments
 (0)