Skip to content

Commit 418608c

Browse files
author
tznind
committed
Fix rune tests by targetting actual designable property of type Rune
1 parent c43bec8 commit 418608c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/PropertyTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ public string PropertyOfType_Pos( )
107107
public void PropertyOfType_Rune( [Values( 'a', 'A', 'f', 'F' )] char runeCharacter )
108108
{
109109
FileInfo file = new( $"{nameof( PropertyOfType_Rune )}_{runeCharacter}.cs" );
110-
using Line lv = new( );
111-
Design d = new(App, new( file ), "lv", lv );
112-
Property prop = d.GetDesignableProperties( ).Single( static p => p.PropertyInfo.Name.Equals( "LineRune" ) );
110+
using ProgressBar pb = new( );
111+
Design d = new(App, new( file ), "lv", pb );
112+
Property prop = d.GetDesignableProperties( ).Single( static p => p.PropertyInfo.Name.Equals( nameof(ProgressBar.SegmentCharacter) ) );
113113

114114
prop.SetValue( runeCharacter );
115115

0 commit comments

Comments
 (0)