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

Use "Operating system" term #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Options:
```
kdoctor -v
Environment diagnose:
[✓] Operation System
[✓] Operating System
➤ Version OS: macOS 13.1
CPU: Apple M1 Max

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class Doctor(private val system: System) {
send(" Please check the output for problem description and possible solutions.\n")
} else {
val prefix = " ${DiagnosisResult.Success.color}${DiagnosisResult.Success.symbol}${TextPainter.RESET} "
send("${prefix}Your operation system is ready for Kotlin Multiplatform Mobile Development!\n")
send("${prefix}Your operating system is ready for Kotlin Multiplatform Mobile Development!\n")
}
}.buffer(0).flowOn(Dispatchers.Default)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package org.jetbrains.kotlin.doctor.diagnostics
import org.jetbrains.kotlin.doctor.entity.*

class SystemDiagnostic(private val system: System) : Diagnostic() {
override val title = "Operation System"
override val title = "Operating System"

override fun diagnose(): Diagnosis {
val result = Diagnosis.Builder(title)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ internal class SystemDiagnosticTest {
val system = object : BaseTestSystem() {}
val diagnose = SystemDiagnostic(system).diagnose()

val expected = Diagnosis.Builder("Operation System").apply {
val expected = Diagnosis.Builder("Operating System").apply {
addSuccess(
"Version OS: macOS 42.777",
"CPU: test_cpu"
Expand All @@ -38,7 +38,7 @@ internal class SystemDiagnosticTest {
}
val diagnose = SystemDiagnostic(system).diagnose()

val expected = Diagnosis.Builder("Operation System").apply {
val expected = Diagnosis.Builder("Operating System").apply {
addSuccess(
"Version OS: macOS 42.777",
"CPU: test_cpu"
Expand All @@ -63,7 +63,7 @@ internal class SystemDiagnosticTest {
}
val diagnose = SystemDiagnostic(system).diagnose()

val expected = Diagnosis.Builder("Operation System").apply {
val expected = Diagnosis.Builder("Operating System").apply {
addFailure(
"OS: Linux 42.777"
)
Expand All @@ -79,7 +79,7 @@ internal class SystemDiagnosticTest {
}
val diagnose = SystemDiagnostic(system).diagnose()

val expected = Diagnosis.Builder("Operation System").apply {
val expected = Diagnosis.Builder("Operating System").apply {
addFailure(
"OS: macOS null"
)
Expand Down