I was referring to your response in an older thread
I believe the strong operator isn’t in effect for the attempt at T: 55.
Hence I wouldn’t expect a failure at end of simulation at T: 55 ( on 3 eda tools I observe output as T:35 you passed )
Once $finish() executes in active region the observed region wouldn’t execute i.e antecedent wouldn’t match and as a result consequent would start evaluation ( hence strong operator wouldn’t be active )
If I remove the `define FINISH at the top I observe the fail action block executing at T: 100 units ( across 3 EDA tools )
# run -all
# ** Info: T:35 you passed
# Time: 35 ns Started: 15 ns Scope: tb File: testbench.sv Line: 10
# exit
# ** Error: T:100 you failed