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

Add ➜ and = signs instead of READ and WRITE in representations tests #458

Merged
merged 5 commits into from
Jan 31, 2025

Conversation

dmitrii-artuhov
Copy link
Collaborator

No description provided.

@dmitrii-artuhov dmitrii-artuhov changed the title -> and = signs instead of READ and WRITE in representations tests Add -> and = signs instead of READ and WRITE in representations tests Jan 29, 2025
@dmitrii-artuhov dmitrii-artuhov changed the title Add -> and = signs instead of READ and WRITE in representations tests Add → and = signs instead of READ and WRITE in representations tests Jan 29, 2025
@@ -32,6 +32,7 @@ import java.lang.reflect.*
import java.util.concurrent.TimeoutException
import java.util.*
import kotlin.coroutines.intrinsics.COROUTINE_SUSPENDED
import kotlin.jvm.javaClass
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change necessary?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

}
append("READ")
append(": $valueRepresentation")
append(" ⟶")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use "→" instead

@dmitrii-artuhov dmitrii-artuhov changed the title Add → and = signs instead of READ and WRITE in representations tests Add ➜ and = signs instead of READ and WRITE in representations tests Jan 30, 2025
append(valueRepresentation)
append(")")
append("")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need to append nothing?

append("READ")
append(": $valueRepresentation")
append("")
append(" $valueRepresentation")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's combine these two append-s

| Thread 1 |
| --------------------------------------------------------------------------------------------------------------------------------------------- |
| operation() |
| atomicReference1 ⟶ AtomicReference#1 at AtomicReferencesFromMultipleFieldsTest.operation(AtomicReferencesNamesTests.kt:97) |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the outputs

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they are updated

it is just on github both arrow types look identical, I guess

@ndkoval ndkoval merged commit a06a755 into develop Jan 31, 2025
20 checks passed
@ndkoval ndkoval deleted the rw-representation-with-arrows branch January 31, 2025 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants