patch 9.0.0188: strange effects when using "text_align" with non-zero column
Problem: Strange effects when using virtual text with "text_align" and
non-zero column. (Martin Tournoij)
Solution: Give an error. (closes #10888)
diff --git a/src/testdir/test_textprop.vim b/src/testdir/test_textprop.vim
index c6d15b5..701e853 100644
--- a/src/testdir/test_textprop.vim
+++ b/src/testdir/test_textprop.vim
@@ -2530,6 +2530,8 @@
call StopVimInTerminal(buf)
call delete('XscriptPropsWithTextAfter')
+
+ call assert_fails('call prop_add(1, 2, #{text: "yes", text_align: "right", type: "some"})', 'E1294:')
endfunc
func Test_props_with_text_after_below_trunc()