fix DumpDataCollectorTest after CS changes

Modify the expected line value which was affected by the move of the
`__LINE__` constant in #12872 to make tests pass again.