UnBCIC-TP2 / Oberon-Scala

An implementation of the Oberon language using Scala
55 stars 118 forks source link

Fixed test case for WRITEFILE stdlib function - Group 2 #90

Closed oestradiol closed 1 year ago

oestradiol commented 2 years ago

This was the last test for stdlib.

Changed ignore -> test; Completely fixed test's logic.

WARNING: will break on Windows considering that, even tho I am adding support when mounting pathToWrite (line 138), the tested Oberon module (file stdlib/WRITEFILETest.oberon) has an already pre-defined path string. And so, this might require manual adapting of the Oberon module's code before running test (Windows-only).

Student: Davi Amaral (200016750) Group: 7