Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit 0660d8d

Browse files
fix Dap toString (#21)
* fix Dap.toString() * update CHANGELOG
1 parent 51a682b commit 0660d8d

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Change Log
22

3-
## [0.5.0] - 2024-06-25
3+
## [0.5.1] - 2024-06-26
4+
- Fix Dap.toString()
5+
6+
## [0.5.0] - 2024-06-26
47
- Change MoneyAddress to have `protocol` and `pss` fields
8+
- Rework RegistryDidResolver
59

610
## [0.4.1] - 2024-06-25
711

src/main/kotlin/xyz/block/dap/Dap.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ data class Dap(
77
val domain: String
88
) {
99
override fun toString(): String {
10-
return "$PREFIX$handle$SEPARATOR$domain'"
10+
return "$PREFIX$handle$SEPARATOR$domain"
1111
}
1212

1313
companion object {

src/test/kotlin/xyz/block/dap/DapTest.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class DapTest {
99
@Test
1010
fun testDapToString() {
1111
val dap = Dap("handle", "domain.com")
12-
assertEquals("@handle/domain.com'", dap.toString())
12+
assertEquals("@handle/domain.com", dap.toString())
1313
}
1414

1515
@Test

0 commit comments

Comments
 (0)