Testing: cases for newlines and [break] in hover

This commit is contained in:
Thijs Wiefferink committed 2017-02-18 16:24:54 +01:00
1 parent e7009138b8
commit f4c20c24ae
2 files changed
+60

No files matched your search

@@ -0,0 +1,30 @@
A message that has a fancy hover!
hover: ~~~Fancy hover~~~[break]Another line!
more text
A message that has a fancy hover! more text
[
{
"text": "",
"extra": [
{
"text": "A message that has a fancy hover!",
"hoverEvent": {
"action": "show_text",
"value": [
{
"text": "~~~Fancy hover~~~\n"
},
{
"text": "Another line!"
}
]
}
},
{
"text": " more text"
}
]
}
]
@@ -0,0 +1,30 @@
A message that has a fancy hover!
hover: ~~~Fancy hover~~~\nAnother line!
more text
A message that has a fancy hover! more text
[
{
"text": "",
"extra": [
{
"text": "A message that has a fancy hover!",
"hoverEvent": {
"action": "show_text",
"value": [
{
"text": "~~~Fancy hover~~~\n"
},
{
"text": "Another line!"
}
]
}
},
{
"text": " more text"
}
]
}
]