Skip to content

Commit

Permalink
Reformat with scalafmt 3.7.5
Browse files Browse the repository at this point in the history
Executed command: scalafmt --non-interactive
  • Loading branch information
scala-steward committed Jun 30, 2023
1 parent 6a5148e commit 2277688
Showing 1 changed file with 41 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1404,27 +1404,27 @@ class DateFormatTest extends munit.FunSuite {
.toPattern()
)

// for {
// tf <- tc.timeFormats
// } yield assertEquals(
// tf._2,
// DateFormat
// .getTimeInstance(tf._1, tc.l)
// .asInstanceOf[SimpleDateFormat]
// .toPattern()
// )
//
// println(tc)
// for {
// df <- tc.dateFormats
// tf <- tc.timeFormats
// } yield assertEquals(
// s"${df._2} ${tf._2}",
// DateFormat
// .getDateTimeInstance(df._1, tf._1, tc.l)
// .asInstanceOf[SimpleDateFormat]
// .toPattern()
// )
// for {
// tf <- tc.timeFormats
// } yield assertEquals(
// tf._2,
// DateFormat
// .getTimeInstance(tf._1, tc.l)
// .asInstanceOf[SimpleDateFormat]
// .toPattern()
// )
//
// println(tc)
// for {
// df <- tc.dateFormats
// tf <- tc.timeFormats
// } yield assertEquals(
// s"${df._2} ${tf._2}",
// DateFormat
// .getDateTimeInstance(df._1, tf._1, tc.l)
// .asInstanceOf[SimpleDateFormat]
// .toPattern()
// )
}
}

Expand All @@ -1445,27 +1445,27 @@ class DateFormatTest extends munit.FunSuite {
.toPattern()
)

// in jdk 17 for some locales it adds an atom here
// for {
// tf <- tc.timeFormats
// } yield assertEquals(
// tf._2,
// DateFormat
// .getTimeInstance(tf._1, tc.l)
// .asInstanceOf[SimpleDateFormat]
// .toPattern()
// )
// in jdk 17 for some locales it adds an atom here
// for {
// tf <- tc.timeFormats
// } yield assertEquals(
// tf._2,
// DateFormat
// .getTimeInstance(tf._1, tc.l)
// .asInstanceOf[SimpleDateFormat]
// .toPattern()
// )

// for {
// df <- tc.dateFormats
// tf <- tc.timeFormats
// } yield assertEquals(
// s"${df._2} ${tf._2}",
// DateFormat
// .getDateTimeInstance(df._1, tf._1, tc.l)
// .asInstanceOf[SimpleDateFormat]
// .toPattern()
// )
// for {
// df <- tc.dateFormats
// tf <- tc.timeFormats
// } yield assertEquals(
// s"${df._2} ${tf._2}",
// DateFormat
// .getDateTimeInstance(df._1, tf._1, tc.l)
// .asInstanceOf[SimpleDateFormat]
// .toPattern()
// )
}
}

Expand Down

0 comments on commit 2277688

Please sign in to comment.