mirror of https://github.com/ARMmbed/mbed-os.git
Fixed crashing nsapi_dns unittest
Added missing "return" for NetworkStackMock's get_stack() methodpull/11967/head
parent
a1cddbae5f
commit
367bae654d
|
@ -141,7 +141,7 @@ public:
|
|||
public:
|
||||
NetworkStack *get_stack()
|
||||
{
|
||||
NetworkStackMock::get_instance();
|
||||
return &NetworkStackMock::get_instance();
|
||||
}
|
||||
MOCK_METHOD0(set_default_parameters, void());
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue