| Index: tools/lexer_generator/automata_test.py
|
| diff --git a/tools/lexer_generator/automata_test.py b/tools/lexer_generator/automata_test.py
|
| index 63142f21fbf9ec19503b9d4856481d3e3f60bdf0..2d2c22e1ca776cb100c4750ac5260d1bcef1fc40 100644
|
| --- a/tools/lexer_generator/automata_test.py
|
| +++ b/tools/lexer_generator/automata_test.py
|
| @@ -26,6 +26,7 @@
|
| # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| import unittest
|
| +from dot_utilities import *
|
| from automaton import Action
|
| from regex_parser import RegexParser
|
| from transition_keys import TransitionKey, KeyEncoding
|
| @@ -81,7 +82,7 @@ class AutomataTestCase(unittest.TestCase):
|
| def test_can_construct_dot(self):
|
| for (regex, matches, not_matches) in self.__test_data:
|
| for automaton in self.__build_automata(regex):
|
| - automaton.to_dot()
|
| + automaton_to_dot(automaton)
|
|
|
| def test_minimization(self):
|
| encoding = self.__encoding
|
|
|