Make the file path for the replacement of a robot comment explicit
Up to now, the file path was implicitly limited to the file on which the robot comment was placed. This restriction will be relaxed in the future. In order to not break systems which use the fix suggestions at that (later) point in time, the mandatory field 'path' is introduced with this change. Change-Id: I73875b97bf844dee927720765046161bbd888c02
This commit is contained in:
@@ -49,6 +49,10 @@ public class FixReplacementInfoSubject
|
||||
super(failureStrategy, fixReplacementInfo);
|
||||
}
|
||||
|
||||
public StringSubject path() {
|
||||
return Truth.assertThat(actual().path).named("path");
|
||||
}
|
||||
|
||||
public RangeSubject range() {
|
||||
return RangeSubject.assertThat(actual().range).named("range");
|
||||
}
|
||||
|
Reference in New Issue
Block a user