|
|
|
@ -65,6 +65,10 @@ int main() { |
|
|
|
auto tooltip = get_markdown_tooltip("test test"); |
|
|
|
auto tooltip = get_markdown_tooltip("test test"); |
|
|
|
g_assert(tooltip->buffer->get_text() == "test test"); |
|
|
|
g_assert(tooltip->buffer->get_text() == "test test"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
auto tooltip = get_markdown_tooltip("test \ntest"); |
|
|
|
|
|
|
|
g_assert(tooltip->buffer->get_text() == "test\ntest"); |
|
|
|
|
|
|
|
} |
|
|
|
{ |
|
|
|
{ |
|
|
|
auto tooltip = get_markdown_tooltip("test\n\n---\ntest"); |
|
|
|
auto tooltip = get_markdown_tooltip("test\n\n---\ntest"); |
|
|
|
g_assert(tooltip->buffer->get_text() == "test\n\n---\ntest"); |
|
|
|
g_assert(tooltip->buffer->get_text() == "test\n\n---\ntest"); |
|
|
|
|