Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Update scalafmt-core from 3.0.7 to 3.0.8 #33

Merged
merged 2 commits into from
Oct 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.0.7
version = 3.0.8
style = defaultWithAlign
danglingParentheses.preset = true
indentOperator.preset = spray
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ class Interval[T](
def isSingleElement: Boolean =
if (!hasUpperLimit) false
else if (!hasLowerLimit) false
//An interval containing a single element, {a}.
// An interval containing a single element, {a}.
else upperLimit == lowerLimit && !isEmpty

/** 下側限界値を取得する。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class IntervalLimitTest extends AnyFunSuite {

assert(IntervalLimit.lower(closed = false, Limit(10)) == IntervalLimit.lower(closed = false, Limit(10)))
assert(IntervalLimit(closed = false, lower = true, Limit(10)) == IntervalLimit.lower(closed = false, Limit(10)))
//assert(new IntervalLimit(false, true, Limit(10)){ } != IntervalLimit.isLower(false, Limit(10)))
// assert(new IntervalLimit(false, true, Limit(10)){ } != IntervalLimit.isLower(false, Limit(10)))
}

test("test02_compareTo") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class IntervalSeqTest extends AnyFunSuite {
var intervalSequence = new IntervalSeq[Int]
intervalSequence :+= o10_12c
intervalSequence :+= c5_10c
//Iterator behavior should be the same regardless of order of insertion.
// Iterator behavior should be the same regardless of order of insertion.
val it = intervalSequence.iterator
assert(it.hasNext)
assert(it.next() == c5_10c)
Expand Down