### ----------------------------------------------------
### -- Qt::QtWidgets
### -- Licenses: GPL-3.0-or-later
### -- Authors: Yves Guillemot <yc.guillemot@wanadoo.fr>
### -- File: t/240-QLineEdit.rakutest
### ----------------------------------------------------

use Test;
use Qt::QtWidgets::QApplication;
use Qt::QtWidgets::QLineEdit;

my $app = QApplication.new;

my $a = QLineEdit.new; 


$a.setText("Foo");
ok $a.text ~~ "Foo", "Text set to a first value";

$a.setText("Bar");
ok $a.text ~~ "Bar", "Text set to another value";

done-testing;



